Back to Devexpress

LookUpEditSettingsBase.AutoComplete Property

wpf-devexpress-dot-xpf-dot-editors-dot-settings-dot-lookupeditsettingsbase-b03ea19f.md

latest2.6 KB
Original Source

LookUpEditSettingsBase.AutoComplete Property

Gets or sets whether the automatic completion is enabled. This is a dependency property.

Namespace : DevExpress.Xpf.Editors.Settings

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool AutoComplete { get; set; }
vb
Public Property AutoComplete As Boolean

Property Value

TypeDescription
Boolean

true to enable automatic completion; otherwise, false.

|

Remarks

If the AutoComplete property is set to true , the text typed by an end-user within the edit box is automatically completed, if it matches a value displayed within the dropdown. By default, the AutoComplete option is disabled for ComboBoxEdit, and enabled for LookUpEdit.

The Auto-Complete feature is not supported if the combobox editor’s popup window is represented by a check box list.

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

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-grid-read-only-and-enabled-binding/CS/MainWindow.xaml#L26

xml
<dxg:TreeListColumn.EditSettings>
    <dxe:ComboBoxEditSettings ItemsSource="{Binding Path=EmployeeNames, Source={StaticResource employeeTasks}}" AutoComplete="True"/>
</dxg:TreeListColumn.EditSettings>

See Also

LookUpEditSettingsBase Class

LookUpEditSettingsBase Members

DevExpress.Xpf.Editors.Settings Namespace