Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Rotation3DAnimation.cs
- NativeMethods.cs
- StreamSecurityUpgradeAcceptor.cs
- RequestQueue.cs
- CultureInfo.cs
- XmlNode.cs
- PngBitmapDecoder.cs
- CurrentChangedEventManager.cs
- DataGridCommandEventArgs.cs
- EntityDataSourceStatementEditorForm.cs
- ValueChangedEventManager.cs
- RectangleConverter.cs
- SqlDataSourceQuery.cs
- StateDesignerConnector.cs
- HostVisual.cs
- RoutedEventConverter.cs
- XmlSchemaInclude.cs
- ContractNamespaceAttribute.cs
- StateRuntime.cs
- ServiceModelConfigurationSectionCollection.cs
- IndependentAnimationStorage.cs
- UniqueConstraint.cs
- TransactionInterop.cs
- PrinterSettings.cs
- SemanticValue.cs
- TypeExtension.cs
- WindowsAuthenticationEventArgs.cs
- recordstatefactory.cs
- IsolatedStorageFilePermission.cs
- MaxValueConverter.cs
- NumberAction.cs
- TemplateManager.cs
- ValidationResult.cs
- SiteMapDataSource.cs
- GregorianCalendarHelper.cs
- BlurBitmapEffect.cs
- EntityTemplateFactory.cs
- BitmapDecoder.cs
- CommandBinding.cs
- CroppedBitmap.cs
- PartitionResolver.cs
- WindowsFormsSectionHandler.cs
- SQLBinaryStorage.cs
- ObjectResult.cs
- DataGridViewTextBoxCell.cs
- HtmlPhoneCallAdapter.cs
- TreeNode.cs
- TailCallAnalyzer.cs
- TraceEventCache.cs
- CallId.cs
- DiscoveryUtility.cs
- PathFigureCollectionConverter.cs
- DataGridItemEventArgs.cs
- MatrixKeyFrameCollection.cs
- ContextQuery.cs
- RefType.cs
- ConfigurationLocation.cs
- MergeFilterQuery.cs
- WorkflowServiceBuildProvider.cs
- odbcmetadatacollectionnames.cs
- OpenFileDialog.cs
- AssemblyName.cs
- ButtonChrome.cs
- XsdDateTime.cs
- TemplateBamlTreeBuilder.cs
- XmlExceptionHelper.cs
- MsmqIntegrationBinding.cs
- Decorator.cs
- StoreAnnotationsMap.cs
- ThumbAutomationPeer.cs
- ComponentGlyph.cs
- DesignerSerializationVisibilityAttribute.cs
- Normalization.cs
- TabletDevice.cs
- FrugalList.cs
- NavigationProgressEventArgs.cs
- Polyline.cs
- StickyNoteHelper.cs
- CodeStatementCollection.cs
- StorageRoot.cs
- glyphs.cs
- Interlocked.cs
- SslStreamSecurityBindingElement.cs
- DefaultValueAttribute.cs
- Asn1IntegerConverter.cs
- RadioButton.cs
- Content.cs
- externdll.cs
- LocalServiceSecuritySettings.cs
- TemplateBindingExtension.cs
- DocumentViewerBaseAutomationPeer.cs
- SubMenuStyle.cs
- EntityContainerRelationshipSet.cs
- SimpleHandlerFactory.cs
- ThreadAttributes.cs
- CacheChildrenQuery.cs
- OdbcFactory.cs
- PenContext.cs
- HtmlFormWrapper.cs
- SynchronousChannel.cs