Back to Devexpress

AutoSuggestEditSettings Class

wpf-devexpress-dot-xpf-dot-editors-dot-settings-8d171f91.md

latest4.4 KB
Original Source

AutoSuggestEditSettings Class

Contains settings specific to the AutoSuggestEdit editor.

Namespace : DevExpress.Xpf.Editors.Settings

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class AutoSuggestEditSettings :
    PopupBaseEditSettings
vb
Public Class AutoSuggestEditSettings
    Inherits 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.

View Example: Use AutoSuggestEditSettings

xaml
<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>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoSuggestEditSettings class.

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.

wpf-data-grid-use-autosuggesteditsettings/CS/MainWindow.xaml#L14

xml
<dxg:GridColumn.EditSettings>
    <dxe:AutoSuggestEditSettings ImmediatePopup="True" />
</dxg:GridColumn.EditSettings>

Inheritance

Show 11 items

Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement BaseEditSettings TextEditSettings ButtonEditSettings PopupBaseEditSettings AutoSuggestEditSettings

See Also

AutoSuggestEditSettings Members

DevExpress.Xpf.Editors.Settings Namespace