AutoSuggestEditSettings Class

Contains settings specific to the AutoSuggestEdit editor.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v21.1.dll

Declaration

public class AutoSuggestEditSettings :
    PopupBaseEditSettings

Remarks

DevExpress container controls (GridControl, TreeListControl, and so on) use DevExpress WPF Editors to edit displayed data. Each editor has a helper class (the BaseEditSettings descendant) that is responsible for the editor’s functionality. When the same editor is used in multiple locations, a container control uses this helper class to paint its cells. The editors are only created when users start to edit, and are automatically deleted when editing is completed. Refer to the Assign Editors to Cells topic for more information.

For more information on the AutoSuggestEdit editor, see AutoSuggestEdit.

Example

The code sample below demonstrates how to embed an AutoSuggestEdit into the GridControl’s column.

<dxg:GridControl ItemsSource="{Binding Customers}">
    <dxg:GridControl.Columns>
        <dxg:GridColumn FieldName="Name"/>
        <dxg:GridColumn FieldName="City">
            <dxg:GridColumn.EditSettings>
                <dxe:AutoSuggestEditSettings ItemsSource="{Binding Cities}"/>
            </dxg:GridColumn.EditSettings>
        </dxg:GridColumn>
        <dxg:GridColumn FieldName="Birthday"/>
    </dxg:GridControl.Columns>
    <dxg:GridControl.View>
        <dxg:TableView/>
    </dxg:GridControl.View>
</dxg:GridControl>
See Also