ItemsEditBase.DisplayMember Property
Specifies the name of a data source field whose values are displayed as drop-down list items.
Namespace: DevExpress.XamarinForms.Editors
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
Declaration
public string DisplayMember { get; set; }
Property Value
Type | Description |
---|---|
String | The data source field name. |
Example
The code below uses the DisplayMember
property to specify the data source field that contains the data that should be displayed in the drop-down list.
<dxe:AutoCompleteEdit DisplayMember="Name">
<dxe:AutoCompleteEdit.ItemsSourceProvider>
<dxe:AsyncItemsSourceProvider RequestDelay="500" SuggestionsRequested="OnDelegateRequested" />
</dxe:AutoCompleteEdit.ItemsSourceProvider>
</dxe:AutoCompleteEdit>
See Also