Skip to main content

XPMemberInfo.DisplayName Property

Gets the member’s display name.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public string DisplayName { get; }

Property Value

Type Description
String

A String value which specifies the member’s display name.

Remarks

The member’s display name is specified by the DisplayNameAttribute. In this case, it can be displayed in a window, such as a Properties window. If the DisplayNameAttribute isn’t specified, the DisplayName property returns the Empty value and the XPMemberInfo.Name property is used.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayName property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also