Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AutoCompleteColumn.DisplayMember Property

Gets or sets the name of a data source field that contains values for the drop-down list. This is a bindable property.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
public string DisplayMember { get; set; }

#Property Value

Type Description
String

The data source field name.

#Example

The example below uses the AsyncItemsSourceProvider to supply suggestions for the AutoCompleteColumn. Use the DisplayMember property to specify the data field that contains values that should be displayed in the drop-down list.

<dxg:DataGridView ItemsSource="{Binding Path=Employees}">
    <dxg:DataGridView.Columns>
        <dxg:AutoCompleteColumn FieldName="JobTitle"
                                DisplayName="Title">
            <dxg:AutoCompleteColumn.ItemsSourceProvider>    
                <dxe:AsyncItemsSourceProvider SuggestionsRequested="SuggestionsRequested"
                                              RequestDelay="500"
                                              CharacterCountThreshold="2"/>
            </dxg:AutoCompleteColumn.ItemsSourceProvider>                
        </dxg:AutoCompleteColumn>
    </dxg:DataGridView.Columns>
</dxg:DataGridView>
See Also