Code:
/ DotNET / DotNET / 8.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
- RelationshipEndCollection.cs
- TaskHelper.cs
- LookupBindingPropertiesAttribute.cs
- RedistVersionInfo.cs
- RootBrowserWindowAutomationPeer.cs
- DragSelectionMessageFilter.cs
- PromptStyle.cs
- XmlDataImplementation.cs
- UnsafeNetInfoNativeMethods.cs
- DocumentGridPage.cs
- InplaceBitmapMetadataWriter.cs
- DataGridCaption.cs
- ToolStripManager.cs
- IODescriptionAttribute.cs
- ErrorProvider.cs
- NamedPipeAppDomainProtocolHandler.cs
- ToolboxSnapDragDropEventArgs.cs
- PropertyChangeTracker.cs
- StateBag.cs
- XPathAncestorIterator.cs
- BitmapEffectrendercontext.cs
- AssemblyBuilderData.cs
- SecurityManager.cs
- FixedBufferAttribute.cs
- ProcessModuleCollection.cs
- dataSvcMapFileLoader.cs
- PartialClassGenerationTask.cs
- DynamicEndpoint.cs
- NGCSerializationManagerAsync.cs
- VisualTreeUtils.cs
- PointLight.cs
- AlternateView.cs
- URL.cs
- AccessibleObject.cs
- Vars.cs
- CodeCastExpression.cs
- Component.cs
- ViewValidator.cs
- FixedSOMTableCell.cs
- StorageEntitySetMapping.cs
- BitmapSizeOptions.cs
- ArcSegment.cs
- CacheSection.cs
- FormViewCommandEventArgs.cs
- ObjectConverter.cs
- ReverseInheritProperty.cs
- WeakReferenceList.cs
- TimelineGroup.cs
- XmlNodeComparer.cs
- SqlRewriteScalarSubqueries.cs
- MessageSmuggler.cs
- Wizard.cs
- XmlnsCompatibleWithAttribute.cs
- MenuStrip.cs
- EncoderNLS.cs
- BaseAppDomainProtocolHandler.cs
- XmlnsDictionary.cs
- Timer.cs
- PageThemeParser.cs
- StateDesigner.TransitionInfo.cs
- DeliveryStrategy.cs
- CompareValidator.cs
- _OSSOCK.cs
- BinaryFormatter.cs
- TimeSpan.cs
- CodeStatement.cs
- XamlTypeMapper.cs
- RSATokenProvider.cs
- MD5Cng.cs
- ProcessThreadCollection.cs
- FileUpload.cs
- Normalizer.cs
- X509ClientCertificateAuthentication.cs
- SchemaRegistration.cs
- DataGridViewCell.cs
- BaseCollection.cs
- XmlSchemaObject.cs
- IntSecurity.cs
- SolidBrush.cs
- Types.cs
- SqlFlattener.cs
- Pair.cs
- XmlSchemaIdentityConstraint.cs
- XslVisitor.cs
- TypeUsageBuilder.cs
- ListItemParagraph.cs
- RijndaelManaged.cs
- ResourceExpressionBuilder.cs
- RefreshPropertiesAttribute.cs
- WinFormsSecurity.cs
- IndexOutOfRangeException.cs
- ToolStripSystemRenderer.cs
- DrawingContextDrawingContextWalker.cs
- ConcatQueryOperator.cs
- StreamResourceInfo.cs
- ObjectReaderCompiler.cs
- Single.cs
- TargetPerspective.cs
- MetadataException.cs
- SymmetricCryptoHandle.cs