Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / WebSysDisplayNameAttribute.cs / 1 / WebSysDisplayNameAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web { using System; using System.ComponentModel; ////// DisplayNameAttribute marks a property, event, or extender with a /// DisplayName. Visual designers can display this DisplayName when referencing /// the member. /// [AttributeUsage(AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Class)] internal sealed class WebSysDisplayNameAttribute : DisplayNameAttribute { private bool replaced; ////// internal WebSysDisplayNameAttribute(string DisplayName) : base(DisplayName) { } ///Constructs a new sys DisplayName. ////// public override string DisplayName { get { if (!replaced) { replaced = true; DisplayNameValue = SR.GetString(base.DisplayName); } return base.DisplayName; } } public override object TypeId { get { return typeof(DisplayNameAttribute); } } } }Retrieves the DisplayName text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DesignTable.cs
- C14NUtil.cs
- AsyncResult.cs
- CapabilitiesUse.cs
- DataGridViewRowPrePaintEventArgs.cs
- FacetValueContainer.cs
- XmlObjectSerializerWriteContextComplex.cs
- MailWebEventProvider.cs
- ServiceManager.cs
- VectorAnimationUsingKeyFrames.cs
- MaskInputRejectedEventArgs.cs
- _Events.cs
- ActivityWithResultConverter.cs
- ContextStaticAttribute.cs
- SystemKeyConverter.cs
- BitmapInitialize.cs
- NonBatchDirectoryCompiler.cs
- ExtenderProvidedPropertyAttribute.cs
- TypeDelegator.cs
- ToolZone.cs
- IPEndPoint.cs
- HttpRuntimeSection.cs
- InstanceCreationEditor.cs
- GroupStyle.cs
- DrawingBrush.cs
- ConfigXmlElement.cs
- ListViewItemMouseHoverEvent.cs
- FeatureSupport.cs
- Parser.cs
- PageAdapter.cs
- ArrayWithOffset.cs
- EmissiveMaterial.cs
- MessageQueueInstaller.cs
- SqlConnectionPoolGroupProviderInfo.cs
- StaticExtensionConverter.cs
- ConfigurationException.cs
- safemediahandle.cs
- ChannelManager.cs
- StateWorkerRequest.cs
- DocumentReference.cs
- PolicyManager.cs
- SchemaInfo.cs
- StoryFragments.cs
- AncillaryOps.cs
- DataColumnMapping.cs
- Window.cs
- ApplicationGesture.cs
- Path.cs
- Processor.cs
- RenderCapability.cs
- SoapTypeAttribute.cs
- formatter.cs
- PrefixQName.cs
- Internal.cs
- MessageSmuggler.cs
- COM2ColorConverter.cs
- ProgressPage.cs
- Point3DCollectionValueSerializer.cs
- ListDictionaryInternal.cs
- NeutralResourcesLanguageAttribute.cs
- WhitespaceReader.cs
- DatasetMethodGenerator.cs
- Attributes.cs
- ObjectAnimationBase.cs
- GeneralTransform3DCollection.cs
- CodeEntryPointMethod.cs
- ProgressBarBrushConverter.cs
- CodeAttributeArgument.cs
- PriorityItem.cs
- TraceSource.cs
- QueryInterceptorAttribute.cs
- IOException.cs
- SqlRecordBuffer.cs
- ItemMap.cs
- DeleteHelper.cs
- CodeIdentifier.cs
- AttributeSetAction.cs
- DrawListViewSubItemEventArgs.cs
- TypeHelper.cs
- DocobjHost.cs
- TemplateKeyConverter.cs
- HtmlInputRadioButton.cs
- HandlerMappingMemo.cs
- ResourceAttributes.cs
- MetaChildrenColumn.cs
- ProfilePropertyMetadata.cs
- X509IssuerSerialKeyIdentifierClause.cs
- BulletedListEventArgs.cs
- MessageSmuggler.cs
- OleDbSchemaGuid.cs
- EntityDataSourceEntitySetNameItem.cs
- TransactionOptions.cs
- TargetControlTypeCache.cs
- ProgressBarRenderer.cs
- hebrewshape.cs
- RawStylusActions.cs
- XamlTreeBuilderBamlRecordWriter.cs
- HttpDateParse.cs
- HttpInputStream.cs
- WindowInteractionStateTracker.cs