[This is preliminary documentation and is subject to change.]
Author: Đonny
Localizable version of DisplayNameAttribute. Defines name shown in PropertyGrid.
Namespace: Tools.ComponentModelTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event)] public class LDisplayNameAttribute : DisplayNameAttribute |
| Visual Basic |
|---|
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Event)> _ Public Class LDisplayNameAttribute _ Inherits DisplayNameAttribute |
| Visual C++ |
|---|
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Field|AttributeTargets::Event)] public ref class LDisplayNameAttribute : public DisplayNameAttribute |
| F# |
|---|
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event)>] type LDisplayNameAttribute = class inherit DisplayNameAttribute end |
| JScript |
|---|
public class LDisplayNameAttribute extends DisplayNameAttribute |
Remarks
Localizable means that value can be loaded from resources or static (shared in VB) properties. Which method of localization is uded depends on ResourceName property.
This attribute can be also used with fields in place of FieldDisplayNameAttribute
Inheritance Hierarchy
System..::..Object
System..::..Attribute
System.ComponentModel..::..DisplayNameAttribute
Tools.ComponentModelT..::..LDisplayNameAttribute
System..::..Attribute
System.ComponentModel..::..DisplayNameAttribute
Tools.ComponentModelT..::..LDisplayNameAttribute
See Also
Version History
1.5.2
- (RC) VersionAttribute and AuthorAttribute removed