Back to Devexpress

XafDisplayNameAttribute Class

expressappframework-devexpress-dot-expressapp-dot-dc-b661e994.md

latest1.6 KB
Original Source

XafDisplayNameAttribute Class

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

Namespace : DevExpress.ExpressApp.DC

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

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

Remarks

The following snippet illustrates the XafDisplayNameAttribute usage.

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

Inheritance

Object Attribute XafDisplayNameAttribute

See Also

XafDisplayNameAttribute Members

DevExpress.ExpressApp.DC Namespace