[This is preliminary documentation and is subject to change.]

Localizable version of DisplayNameAttribute. Defines name shown in PropertyGrid.

Namespace:  Tools.ComponentModelT
Assembly:  Tools (in Tools.dll) Version: 1.5.2.0

Author: Đonny

Vertion history

1.5.2 (Release Candidate)
VersionAttribute and AuthorAttribute removed

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event)]
public class LDisplayNameAttribute : DisplayNameAttribute
Visual Basic (Declaration)
<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
J#
/** @attribute AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event) */
public class LDisplayNameAttribute extends DisplayNameAttribute
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

See Also