Skip to main content
.NET 6.0+

DisplayNameAttribute(String) Constructor

Initializes a new instance of the DisplayNameAttribute class with the specified DisplayNameAttribute.DisplayName property.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public DisplayNameAttribute(
    string displayName
)

Parameters

Name Type Description
displayName String

A String value which specifies the member’s display name. This value is assigned to the DisplayNameAttribute.DisplayName property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DisplayNameAttribute(String) constructor.

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