IDisplayNameProvider.GetDataSourceDisplayName() Method

Returns the name displayed for a data source in a Field List.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v21.2.dll

Declaration

string GetDataSourceDisplayName()

Returns

Type Description
String

A String value specifying the data source’s name.

Remarks

This method should be overridden when implementing the IDisplayNameProvider interface. The string returned by the GetDataSourceDisplayName method is displayed as the root name of a data source structure shown in a Field List.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetDataSourceDisplayName() method.

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