Skip to main content

ListBoxEditSettings.DisplayMember Property

Gets or sets a field name in the bound data source whose contents are to be displayed by the list box. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public string DisplayMember { get; set; }

Property Value

Type Description
String

A String value specifying a field name in a data source.

Remarks

To bind the editor to a data source, use its ListBoxEditSettings.ItemsSource property. The ListBoxEditSettings.DisplayMember and ListBoxEditSettings.ValueMember properties specify the field names in a data source that supply display strings and item values, respectively.

See Also