Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SiteMapNodeCollection.cs
- SimpleHandlerFactory.cs
- ConfigurationSettings.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- TypeRestriction.cs
- DragDeltaEventArgs.cs
- BaseAddressPrefixFilterElementCollection.cs
- RadioButtonList.cs
- ParallelTimeline.cs
- StrokeIntersection.cs
- StorageMappingItemLoader.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- DataGridViewComboBoxColumnDesigner.cs
- FusionWrap.cs
- FontStyles.cs
- Geometry.cs
- VBIdentifierTrimConverter.cs
- ViewManager.cs
- HwndMouseInputProvider.cs
- GrowingArray.cs
- ConfigViewGenerator.cs
- WebEncodingValidatorAttribute.cs
- RoleGroup.cs
- BitmapCodecInfoInternal.cs
- CustomError.cs
- PassportIdentity.cs
- InvalidCastException.cs
- CharacterMetricsDictionary.cs
- NativeActivityTransactionContext.cs
- FormViewPagerRow.cs
- CommandArguments.cs
- CodeCommentStatement.cs
- PageStatePersister.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- WindowsRegion.cs
- ProcessProtocolHandler.cs
- QueryContinueDragEventArgs.cs
- EntitySqlQueryBuilder.cs
- TemplatePagerField.cs
- OletxResourceManager.cs
- GeometryModel3D.cs
- HijriCalendar.cs
- SoapTypeAttribute.cs
- XsltContext.cs
- JavaScriptSerializer.cs
- HMAC.cs
- XmlWriterSettings.cs
- MappingMetadataHelper.cs
- BitmapData.cs
- SystemIcmpV4Statistics.cs
- Debug.cs
- DesignerAttribute.cs
- HtmlInputPassword.cs
- OperationAbortedException.cs
- AnimatedTypeHelpers.cs
- HttpProfileGroupBase.cs
- RepeaterItemEventArgs.cs
- RNGCryptoServiceProvider.cs
- ValidatingReaderNodeData.cs
- IgnoreFileBuildProvider.cs
- HttpListenerContext.cs
- UpdateRecord.cs
- returneventsaver.cs
- WSDualHttpBindingElement.cs
- XmlIgnoreAttribute.cs
- CompoundFileReference.cs
- ExpressionList.cs
- TextSelectionProcessor.cs
- Visitors.cs
- XmlNavigatorStack.cs
- SafeSerializationManager.cs
- Identity.cs
- DataReceivedEventArgs.cs
- DayRenderEvent.cs
- MenuItem.cs
- VariableDesigner.xaml.cs
- StateBag.cs
- ZipIORawDataFileBlock.cs
- CompositeControl.cs
- TogglePattern.cs
- ListViewInsertEventArgs.cs
- PackagingUtilities.cs
- EpmSourcePathSegment.cs
- EdmItemError.cs
- WpfKnownMemberInvoker.cs
- ErrorWebPart.cs
- NameSpaceExtractor.cs
- HttpCapabilitiesBase.cs
- MouseActionValueSerializer.cs
- EnumBuilder.cs
- ParsedAttributeCollection.cs
- AuthenticationModulesSection.cs
- WebPartUserCapability.cs
- WebScriptMetadataMessageEncoderFactory.cs
- PropertyGroupDescription.cs
- AppDomainAttributes.cs
- Mapping.cs
- _FtpControlStream.cs
- WebGetAttribute.cs
- GridViewDeleteEventArgs.cs