.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafDisplayNameAttribute Class

Specifies the display name of a business class, domain component, property, field or enumeration value.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Interface, AllowMultiple = false, Inherited = true)]
public sealed class XafDisplayNameAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Interface, AllowMultiple:=False, Inherited:=True)>
Public NotInheritable Class XafDisplayNameAttribute
    Inherits Attribute
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class XafDisplayNameAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Field Or AttributeTargets.Interface Or AttributeTargets.Property, AllowMultiple:=False, Inherited:=True)>
Public NotInheritable Class XafDisplayNameAttribute
    Inherits Attribute

Remarks

The following snippet illustrates the XafDisplayNameAttribute usage.

[XafDisplayName("Task")]
public class DemoTask : Task {
    // ...
}

Inheritance

See Also