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
- StringInfo.cs
- PeerToPeerException.cs
- BamlReader.cs
- DesignerActionHeaderItem.cs
- Pen.cs
- LinkArea.cs
- OdbcConnectionStringbuilder.cs
- UIElement.cs
- _SSPIWrapper.cs
- MemoryResponseElement.cs
- SettingsPropertyCollection.cs
- SessionEndingEventArgs.cs
- ListChangedEventArgs.cs
- sqlser.cs
- MatrixStack.cs
- WindowsHyperlink.cs
- DesignerValidationSummaryAdapter.cs
- DynamicMethod.cs
- GuidConverter.cs
- RegisteredExpandoAttribute.cs
- Mapping.cs
- MenuScrollingVisibilityConverter.cs
- XmlSchemaSubstitutionGroup.cs
- AsyncOperation.cs
- NavigationFailedEventArgs.cs
- ShowExpandedMultiValueConverter.cs
- LeftCellWrapper.cs
- CriticalHandle.cs
- ToolStripButton.cs
- AdornerHitTestResult.cs
- DataGridRelationshipRow.cs
- RangeBaseAutomationPeer.cs
- DesignerVerbCollection.cs
- TrustSection.cs
- RegisteredDisposeScript.cs
- InitializingNewItemEventArgs.cs
- MessageSecurityProtocolFactory.cs
- WebPartConnectionCollection.cs
- BaseTemplateBuildProvider.cs
- followingquery.cs
- InvalidFilterCriteriaException.cs
- TextFormatterImp.cs
- XmlBinaryReaderSession.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- HtmlWindow.cs
- TaskSchedulerException.cs
- StringFormat.cs
- ClientUrlResolverWrapper.cs
- RuntimeArgumentHandle.cs
- MsmqTransportSecurity.cs
- SerializationInfo.cs
- CredentialCache.cs
- TypeUtil.cs
- CodeBinaryOperatorExpression.cs
- NativeMethods.cs
- MenuItemCollection.cs
- VectorCollectionConverter.cs
- GridView.cs
- Interlocked.cs
- Exceptions.cs
- DefaultTextStore.cs
- Ticks.cs
- XmlParserContext.cs
- DataListCommandEventArgs.cs
- PersonalizationStateInfo.cs
- CfgParser.cs
- InkCanvasAutomationPeer.cs
- NetworkInformationException.cs
- ProfileServiceManager.cs
- ISFTagAndGuidCache.cs
- LinkClickEvent.cs
- BindingList.cs
- HwndSubclass.cs
- KnownColorTable.cs
- PngBitmapEncoder.cs
- Transform3D.cs
- EntityClientCacheEntry.cs
- ConnectionPoint.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- ProtocolsConfigurationEntry.cs
- Utils.cs
- _StreamFramer.cs
- EmptyStringExpandableObjectConverter.cs
- IndentTextWriter.cs
- HyperLinkField.cs
- smtpconnection.cs
- ValidationSummary.cs
- Decimal.cs
- EdmComplexPropertyAttribute.cs
- CopyOnWriteList.cs
- MouseGestureValueSerializer.cs
- ConsumerConnectionPointCollection.cs
- GroupBox.cs
- TypeConverter.cs
- MappedMetaModel.cs
- HttpDebugHandler.cs
- TreeViewTemplateSelector.cs
- InstanceDataCollectionCollection.cs
- ITextView.cs
- ToolConsole.cs