DisplayNameAttribute Class
Specifies the member’s display name.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Remarks
The following sample code shows how to use the DisplayNameAttribute attribute.
public class Customer : XPObject {
private string _customerName;
[DisplayName("Customer Name")]
public string CustomerName {
get { return _customerName; }
set { _customerName = value; }
}
}
See Also