XafDisplayNameAttribute Class
Specifies the display name of a business class, domain component, property, field or enumeration value.
Namespace: DevExpress.ExpressApp.DC
Assembly:
DevExpress.ExpressApp.v24.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
The following snippet illustrates the XafDisplayNameAttribute usage.
[XafDisplayName("Task")]
public class DemoTask : Task {
// ...
}
<XafDisplayName("Task")> _
Public Class DemoTask
Inherits Task
' ...
End Class
See Also