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
- OleDbFactory.cs
- ImageAttributes.cs
- Int16Animation.cs
- _NegoState.cs
- MsmqDecodeHelper.cs
- ImageButton.cs
- DesignerActionUIService.cs
- NativeMethods.cs
- WebBodyFormatMessageProperty.cs
- WebPartConnectionsConnectVerb.cs
- SettingsProperty.cs
- FilterQueryOptionExpression.cs
- MessageBox.cs
- ScriptControlDescriptor.cs
- SqlDataRecord.cs
- XmlSerializerNamespaces.cs
- AggregatePushdown.cs
- ValidatorUtils.cs
- AutomationEvent.cs
- FormViewUpdateEventArgs.cs
- MissingSatelliteAssemblyException.cs
- ControlDesigner.cs
- EnumerableRowCollectionExtensions.cs
- RecognizerInfo.cs
- ParameterCollection.cs
- UpdateTracker.cs
- BrushValueSerializer.cs
- FileDetails.cs
- AppSettingsExpressionBuilder.cs
- ResolveResponse.cs
- ButtonFlatAdapter.cs
- StrokeFIndices.cs
- EventLogPermissionEntry.cs
- EntityDataSourceEntitySetNameItem.cs
- SqlColumnizer.cs
- TextTreeText.cs
- ConditionCollection.cs
- Function.cs
- TransactionFlowBindingElement.cs
- EventsTab.cs
- PathGradientBrush.cs
- DPTypeDescriptorContext.cs
- ToolStripEditorManager.cs
- MappingException.cs
- ProtectedProviderSettings.cs
- DetailsViewRowCollection.cs
- SubpageParagraph.cs
- HttpCapabilitiesSectionHandler.cs
- RenderContext.cs
- XMLSyntaxException.cs
- OracleCommand.cs
- ResourcePermissionBaseEntry.cs
- CallbackHandler.cs
- PictureBox.cs
- SignatureDescription.cs
- SqlWebEventProvider.cs
- ExpressionBuilderCollection.cs
- ContainerFilterService.cs
- MemberPath.cs
- Trace.cs
- ResourceDisplayNameAttribute.cs
- TraceListener.cs
- SamlSerializer.cs
- HttpInputStream.cs
- PolicyStatement.cs
- EncodingInfo.cs
- AggregateNode.cs
- SortKey.cs
- X509CertificateStore.cs
- SystemNetHelpers.cs
- ProfessionalColors.cs
- DiscreteKeyFrames.cs
- CryptoConfig.cs
- OciEnlistContext.cs
- XmlWriter.cs
- XamlContextStack.cs
- EntityClientCacheKey.cs
- MouseOverProperty.cs
- TabItem.cs
- Document.cs
- ServerTooBusyException.cs
- SecurityChannel.cs
- KeyboardDevice.cs
- ExpressionEditor.cs
- ParseElement.cs
- PixelFormatConverter.cs
- CopyAction.cs
- SendMailErrorEventArgs.cs
- PackageProperties.cs
- ShapingWorkspace.cs
- SQLInt16Storage.cs
- SqlCharStream.cs
- MemberAccessException.cs
- ApplicationServiceHelper.cs
- SimpleMailWebEventProvider.cs
- MailWebEventProvider.cs
- DataGridViewLinkCell.cs
- HtmlHistory.cs
- EntitySet.cs
- FactoryId.cs