Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / WebSysDisplayNameAttribute.cs / 1305376 / 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.Retrieves the DisplayName text. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScriptBehaviorDescriptor.cs
- InteropAutomationProvider.cs
- ControlBuilderAttribute.cs
- FileLoadException.cs
- CodeAssignStatement.cs
- CounterNameConverter.cs
- HandleExceptionArgs.cs
- WorkflowMarkupSerializerMapping.cs
- PropertyMapper.cs
- PageAsyncTaskManager.cs
- ProcessHostServerConfig.cs
- PointConverter.cs
- OneOf.cs
- BoundField.cs
- ToolStripDropDownButton.cs
- UriTemplateHelpers.cs
- UshortList2.cs
- BrowserDefinitionCollection.cs
- MemoryPressure.cs
- SingletonChannelAcceptor.cs
- NTAccount.cs
- ConfigurationPropertyAttribute.cs
- XamlParser.cs
- IriParsingElement.cs
- NameTable.cs
- TextComposition.cs
- SubMenuStyleCollectionEditor.cs
- RecordConverter.cs
- CodeIdentifier.cs
- CodeArgumentReferenceExpression.cs
- FactoryId.cs
- StreamGeometry.cs
- BitmapDownload.cs
- TableRowGroup.cs
- AsyncOperation.cs
- WrappedIUnknown.cs
- ContextDataSourceView.cs
- TreeSet.cs
- CodeDirectiveCollection.cs
- MutexSecurity.cs
- DataGridViewRowConverter.cs
- TemplateControlBuildProvider.cs
- PeerTransportElement.cs
- DataViewSetting.cs
- HttpModuleAction.cs
- SHA256.cs
- DataSourceXmlClassAttribute.cs
- EventLogPermissionEntry.cs
- AuthenticationModuleElementCollection.cs
- BmpBitmapEncoder.cs
- RunInstallerAttribute.cs
- Attributes.cs
- AspNetSynchronizationContext.cs
- DocumentReference.cs
- UIElement.cs
- SystemParameters.cs
- EncoderBestFitFallback.cs
- DeferredSelectedIndexReference.cs
- Timer.cs
- ColumnWidthChangingEvent.cs
- PauseStoryboard.cs
- NodeInfo.cs
- RecognizedAudio.cs
- MailMessage.cs
- TextDecorations.cs
- DataListGeneralPage.cs
- StateDesigner.Helpers.cs
- CodeExporter.cs
- SendActivityValidator.cs
- WebPartZoneBaseDesigner.cs
- BamlLocalizationDictionary.cs
- SoapParser.cs
- CompletedAsyncResult.cs
- WebConvert.cs
- UpdatePanelControlTrigger.cs
- InternalConfigHost.cs
- Array.cs
- QuaternionRotation3D.cs
- HttpResponseHeader.cs
- EntityPropertyMappingAttribute.cs
- PropertyGroupDescription.cs
- FastEncoderWindow.cs
- WebResourceAttribute.cs
- EditingCommands.cs
- Profiler.cs
- PrintEvent.cs
- DataControlImageButton.cs
- ListBindingHelper.cs
- UpdatePanelTrigger.cs
- DbParameterCollectionHelper.cs
- XPathItem.cs
- ErrorTableItemStyle.cs
- SharedPerformanceCounter.cs
- Imaging.cs
- RolePrincipal.cs
- BinaryMethodMessage.cs
- ToolStripOverflowButton.cs
- SplitContainer.cs
- DesignerProperties.cs
- Vector3D.cs