Class DisplayNameAttribute
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Specifies the member’s display name.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true)]
public class DisplayNameAttribute : Attribute
- Inheritance
-
DisplayNameAttribute
- Inherited Members
Constructors
DisplayNameAttribute()
Initializes a new instance of the DisplayNameAttribute class with default settings.
public DisplayNameAttribute()
DisplayNameAttribute(string)
Initializes a new instance of the DisplayNameAttribute class with the specified DisplayNameAttribute.DisplayName property.
public DisplayNameAttribute(string displayName)
Parameters
displayName
stringA string value which specifies the member’s display name. This value is assigned to the DisplayNameAttribute.DisplayName property.
Properties
DisplayName
Gets the member’s display name.
public virtual string DisplayName { get; }