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
- EntityKeyElement.cs
- StylusPointCollection.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- SrgsGrammarCompiler.cs
- itemelement.cs
- PipelineModuleStepContainer.cs
- IsolatedStorageException.cs
- BrowsableAttribute.cs
- ServiceOperation.cs
- Rectangle.cs
- ButtonFlatAdapter.cs
- LineVisual.cs
- ModelItemCollectionImpl.cs
- TypePropertyEditor.cs
- XmlSchemaDocumentation.cs
- LocalizedNameDescriptionPair.cs
- MobileControlPersister.cs
- DbDeleteCommandTree.cs
- RSAOAEPKeyExchangeFormatter.cs
- ProxyAssemblyNotLoadedException.cs
- MetafileHeader.cs
- ByteAnimationUsingKeyFrames.cs
- WindowsTokenRoleProvider.cs
- BaseTemplateParser.cs
- CultureTable.cs
- DescendentsWalker.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- NgenServicingAttributes.cs
- FixedSOMTableCell.cs
- TraceInternal.cs
- ArgumentsParser.cs
- controlskin.cs
- ProcessHostMapPath.cs
- UpDownBase.cs
- SystemIcmpV4Statistics.cs
- DaylightTime.cs
- XmlElement.cs
- RadioButton.cs
- GeneratedCodeAttribute.cs
- NamespaceExpr.cs
- coordinatorfactory.cs
- XmlSchemaAttribute.cs
- PipeSecurity.cs
- GroupItem.cs
- ReferentialConstraint.cs
- sitestring.cs
- OutputCacheProfile.cs
- Frame.cs
- PathBox.cs
- VectorAnimationBase.cs
- DataKeyArray.cs
- RegexParser.cs
- StringResourceManager.cs
- DefaultValueMapping.cs
- WebFaultClientMessageInspector.cs
- DataGridSortingEventArgs.cs
- RayHitTestParameters.cs
- HtmlUtf8RawTextWriter.cs
- ObjectSecurity.cs
- StringDictionaryWithComparer.cs
- FamilyTypefaceCollection.cs
- TemplatedWizardStep.cs
- TabControl.cs
- SecurityListenerSettingsLifetimeManager.cs
- TextDecorationCollection.cs
- XmlDocument.cs
- SystemResourceHost.cs
- MenuStrip.cs
- ChtmlLinkAdapter.cs
- ISCIIEncoding.cs
- SystemIPv4InterfaceProperties.cs
- PassportAuthenticationModule.cs
- TriggerBase.cs
- ManagementScope.cs
- EventLog.cs
- UnsafeNativeMethods.cs
- TableRowCollection.cs
- QilUnary.cs
- ApplicationServicesHostFactory.cs
- ButtonColumn.cs
- EdmFunction.cs
- CacheDependency.cs
- OracleBoolean.cs
- ProxyHelper.cs
- WebControl.cs
- BaseValidator.cs
- SqlDataSourceConnectionPanel.cs
- TextSelectionProcessor.cs
- ToolBarButton.cs
- TextRange.cs
- AnimatedTypeHelpers.cs
- ExeContext.cs
- XsltArgumentList.cs
- ReferencedType.cs
- ErrorTableItemStyle.cs
- KeyConstraint.cs
- NameValuePermission.cs
- SqlTrackingService.cs
- MasterPageBuildProvider.cs
- BoundsDrawingContextWalker.cs