Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / TargetConverter.cs / 1305376 / TargetConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.ComponentModel; using System.Globalization; using System.Reflection; ////// public class TargetConverter: StringConverter { private static string [] targetValues = { "_blank", "_parent", "_search", "_self", "_top" }; private StandardValuesCollection values; ////// /// public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) { if (values == null) { values = new StandardValuesCollection(targetValues); } return values; } ////// /// public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) { return false; } ////// /// public override bool GetStandardValuesSupported(ITypeDescriptorContext context) { return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.ComponentModel; using System.Globalization; using System.Reflection; ////// public class TargetConverter: StringConverter { private static string [] targetValues = { "_blank", "_parent", "_search", "_self", "_top" }; private StandardValuesCollection values; ////// /// public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) { if (values == null) { values = new StandardValuesCollection(targetValues); } return values; } ////// /// public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) { return false; } ////// /// public override bool GetStandardValuesSupported(ITypeDescriptorContext context) { return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AutomationPropertyInfo.cs
- CloseCollectionAsyncResult.cs
- CodeDOMProvider.cs
- FactoryGenerator.cs
- HandledMouseEvent.cs
- RegularExpressionValidator.cs
- PrincipalPermission.cs
- NetNamedPipeBindingElement.cs
- FileEnumerator.cs
- DataFormats.cs
- processwaithandle.cs
- MonitorWrapper.cs
- DataGridViewSelectedRowCollection.cs
- IPipelineRuntime.cs
- SiteIdentityPermission.cs
- EndpointInstanceProvider.cs
- DbModificationCommandTree.cs
- CustomAttributeFormatException.cs
- SoapMessage.cs
- MeasurementDCInfo.cs
- SecurityImpersonationBehavior.cs
- XmlSchemaValidationException.cs
- PrefixQName.cs
- DataListItem.cs
- BitmapEffectInput.cs
- DataFormat.cs
- SequentialWorkflowRootDesigner.cs
- HtmlTableRow.cs
- TableLayoutCellPaintEventArgs.cs
- PackWebRequest.cs
- ThreadExceptionEvent.cs
- VisualStyleRenderer.cs
- OleDbSchemaGuid.cs
- SystemNetHelpers.cs
- TdsParameterSetter.cs
- QilNode.cs
- SingleObjectCollection.cs
- DataGridViewCellStyleConverter.cs
- Utils.cs
- SiteMapDataSourceView.cs
- FlowDocumentView.cs
- CompilerLocalReference.cs
- LogAppendAsyncResult.cs
- CodeComment.cs
- RequestCachingSection.cs
- XmlUtil.cs
- NumericUpDownAccelerationCollection.cs
- Point.cs
- CodeRemoveEventStatement.cs
- CriticalFinalizerObject.cs
- CodeTypeParameterCollection.cs
- PresentationTraceSources.cs
- AuthenticationSection.cs
- ListView.cs
- ExtensionFile.cs
- OutOfProcStateClientManager.cs
- CodePageUtils.cs
- RewritingPass.cs
- DateTimeOffsetConverter.cs
- metadatamappinghashervisitor.cs
- EventBuilder.cs
- Model3D.cs
- Internal.cs
- ObjectStorage.cs
- WebPartCatalogCloseVerb.cs
- StoreAnnotationsMap.cs
- Selection.cs
- VisualStyleTypesAndProperties.cs
- Expander.cs
- TypeConvertions.cs
- BinaryExpression.cs
- CommandValueSerializer.cs
- ValidationHelper.cs
- AtomEntry.cs
- EntityDataSourceContainerNameItem.cs
- RtfFormatStack.cs
- FontDialog.cs
- CompilerGlobalScopeAttribute.cs
- VerticalAlignConverter.cs
- NotifyCollectionChangedEventArgs.cs
- FrameworkPropertyMetadata.cs
- EntityDataSourceEntityTypeFilterItem.cs
- EventToken.cs
- BasicKeyConstraint.cs
- Single.cs
- TextDecoration.cs
- SQLDouble.cs
- KnownTypesProvider.cs
- WriterOutput.cs
- XmlAnyElementAttribute.cs
- PhoneCallDesigner.cs
- ISCIIEncoding.cs
- GenericsInstances.cs
- ImportStoreException.cs
- JpegBitmapEncoder.cs
- RepeaterItemEventArgs.cs
- GlyphsSerializer.cs
- CharEntityEncoderFallback.cs
- XmlDataSource.cs
- Misc.cs