Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Retrieves the DisplayName text. ///// 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); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Retrieves the DisplayName text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Win32MouseDevice.cs
- ProtectedConfiguration.cs
- CacheRequest.cs
- RectIndependentAnimationStorage.cs
- ColorAnimationBase.cs
- Int16AnimationBase.cs
- FigureParaClient.cs
- storepermissionattribute.cs
- BitmapEffectRenderDataResource.cs
- AvTrace.cs
- WebPartCatalogCloseVerb.cs
- RowToFieldTransformer.cs
- CharUnicodeInfo.cs
- DivideByZeroException.cs
- FixedTextView.cs
- TextContainerChangeEventArgs.cs
- RangeValidator.cs
- printdlgexmarshaler.cs
- DateTimeStorage.cs
- KeyNotFoundException.cs
- WebPartTransformerCollection.cs
- MetadataUtilsSmi.cs
- ImageUrlEditor.cs
- DataPager.cs
- ToolStripSplitButton.cs
- SymbolMethod.cs
- XsdCachingReader.cs
- StructuredType.cs
- ContourSegment.cs
- TypedTableBase.cs
- ControlAdapter.cs
- CapabilitiesUse.cs
- System.Data.OracleClient_BID.cs
- BinHexDecoder.cs
- XmlNamespaceMappingCollection.cs
- UncommonField.cs
- ADRoleFactoryConfiguration.cs
- CryptoApi.cs
- Vector3DValueSerializer.cs
- codemethodreferenceexpression.cs
- QueueProcessor.cs
- ExecutorLocksHeldException.cs
- ProcessModelSection.cs
- XappLauncher.cs
- Registry.cs
- ControllableStoryboardAction.cs
- ValidatingPropertiesEventArgs.cs
- TextEffect.cs
- GeneratedCodeAttribute.cs
- VarRefManager.cs
- BStrWrapper.cs
- x509utils.cs
- PngBitmapEncoder.cs
- PageSettings.cs
- RemoveStoryboard.cs
- GiveFeedbackEvent.cs
- MachineKey.cs
- XmlHelper.cs
- NavigationPropertySingletonExpression.cs
- WindowsGrip.cs
- PermissionSetTriple.cs
- CustomError.cs
- Graphics.cs
- DateTimeValueSerializer.cs
- PenContexts.cs
- RolePrincipal.cs
- FontCollection.cs
- PartialTrustHelpers.cs
- OdbcConnectionString.cs
- SchemaElementLookUpTable.cs
- EntityCommandDefinition.cs
- _CookieModule.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- QilCloneVisitor.cs
- TextElement.cs
- RegexBoyerMoore.cs
- DefaultBindingPropertyAttribute.cs
- cryptoapiTransform.cs
- ProviderCollection.cs
- AliasedSlot.cs
- SafeBitVector32.cs
- ListViewPagedDataSource.cs
- PrintPreviewControl.cs
- SafeFindHandle.cs
- Normalization.cs
- SweepDirectionValidation.cs
- SocketElement.cs
- DummyDataSource.cs
- SafeThreadHandle.cs
- PageCache.cs
- NativeMethodsCLR.cs
- RtfToken.cs
- ByteAnimationUsingKeyFrames.cs
- RemoveStoryboard.cs
- EntityWithKeyStrategy.cs
- LinearGradientBrush.cs
- SimpleHandlerFactory.cs
- ReadOnlyCollectionBase.cs
- PopupRoot.cs
- StyleTypedPropertyAttribute.cs