Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / TargetConverter.cs / 1 / 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; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DetailsViewDeletedEventArgs.cs
- DataProviderNameConverter.cs
- ServerValidateEventArgs.cs
- LinearQuaternionKeyFrame.cs
- VerificationAttribute.cs
- TypeConverter.cs
- CommandHelpers.cs
- SecurityKeyIdentifierClause.cs
- SecurityException.cs
- PageFunction.cs
- PropertyBuilder.cs
- COM2EnumConverter.cs
- ProtocolsConfigurationEntry.cs
- ListCollectionView.cs
- ClientSession.cs
- BuildProvider.cs
- ExtendedPropertyDescriptor.cs
- UnsafeNativeMethodsPenimc.cs
- BinHexEncoder.cs
- ReflectionHelper.cs
- SerializationStore.cs
- TcpWorkerProcess.cs
- DataPagerFieldCommandEventArgs.cs
- SqlCacheDependencyDatabase.cs
- errorpatternmatcher.cs
- SqlDataSource.cs
- AuthenticationConfig.cs
- Evidence.cs
- LayoutInformation.cs
- RadioButtonBaseAdapter.cs
- DataPagerCommandEventArgs.cs
- sqlmetadatafactory.cs
- InternalTypeHelper.cs
- HttpWriter.cs
- ProviderMetadata.cs
- ContainerSelectorGlyph.cs
- DetailsViewDeletedEventArgs.cs
- PolicyManager.cs
- Document.cs
- AppliedDeviceFiltersDialog.cs
- BooleanSwitch.cs
- BinaryUtilClasses.cs
- SiteOfOriginPart.cs
- DiscoveryClientChannelBase.cs
- StringComparer.cs
- FixedSOMPage.cs
- EntityContainerEmitter.cs
- SessionPageStateSection.cs
- InfoCardRequestException.cs
- XsltContext.cs
- ErrorWrapper.cs
- TextTreeRootTextBlock.cs
- NetworkInformationPermission.cs
- MouseOverProperty.cs
- ReachDocumentReferenceSerializer.cs
- FtpWebRequest.cs
- DBParameter.cs
- DeclaredTypeValidatorAttribute.cs
- Attributes.cs
- LocalizationParserHooks.cs
- LinearGradientBrush.cs
- designeractionbehavior.cs
- PipelineModuleStepContainer.cs
- StrokeNodeOperations2.cs
- SchemaCollectionCompiler.cs
- Content.cs
- GeometryCollection.cs
- ReachBasicContext.cs
- TableAdapterManagerGenerator.cs
- XsdDataContractExporter.cs
- FixedSOMTableRow.cs
- OutputCacheProfileCollection.cs
- AttributeCollection.cs
- ChannelTokenTypeConverter.cs
- ExclusiveHandleList.cs
- FileUtil.cs
- DescendantBaseQuery.cs
- ErrorProvider.cs
- EntityDataSourceStatementEditor.cs
- Models.cs
- Version.cs
- ResourceIDHelper.cs
- FileNotFoundException.cs
- DesignerHelpers.cs
- ObjectAnimationUsingKeyFrames.cs
- WebDescriptionAttribute.cs
- PerformanceCounterPermissionEntry.cs
- PixelShader.cs
- IDReferencePropertyAttribute.cs
- GridViewColumnCollectionChangedEventArgs.cs
- AccessDataSourceView.cs
- WsdlBuildProvider.cs
- UInt16.cs
- ObjectDataSourceEventArgs.cs
- CurrentChangedEventManager.cs
- InputDevice.cs
- MaterialGroup.cs
- DocumentReference.cs
- BeginEvent.cs
- NewItemsContextMenuStrip.cs