Editing and AutoComplete in WPF Multi Column Dropdown (SfMultiColumnDropDown)

SfMultiColumnDropDownControl allows you to edit via TextBox. You can make the editor as read-only by setting SfMultiColumnDropDownControl.ReadOnly property as true.

Auto Completion of Text

SfMultiColumnDropDownControl auto append the text based on ItemsSource when end-user edits in the TextBox when setting AllowAutoComplete to true.


When setting DataTable as ItemsSource, AllowAutoComplete is not supported.

Auto Increment

You can allow end-user to change the SelectedItem while mouse wheel over the control by setting AllowSpinOnMouseWheel as true.

Null Value Support

You can allow the null values in editor by setting AllowNullInput as true. While deleting the text in Textbox, then the SelectedItem will be null.

Note: AllowNullInput will work only when the underlying property type is nullable.

Open popup while editing

You can open the popup while typing the value in editor itself by setting AllowImmediatePopup as true.

Open popup while loading

You can specify whether the popup is need to open or close by setting IsDropDownOpen as true. You can open the popup while loading the SfMultiColumnDropDownControl itself by setting IsDropDownOpen as true.

<syncfusion:SfMultiColumnDropDownControl x:Name="sfmultiColumn"
                                         ItemsSource="{Binding Orders}"
        <syncfusion:GridCurrencyColumn MappingName="OrderID" />
        <syncfusion:GridTextColumn MappingName="CustomerID" />
        <syncfusion:GridTextColumn MappingName="Country" />
sfMultiColumn.Loaded += sfMultiColumn_Loaded;

void sfMultiColumn_Loaded(object sender, RoutedEventArgs e)
      (sender as SfMultiColumnDropDownControl).IsDropDownOpen = true;

Keyboard Interactions

SfMultiColumnDropDownControl provides keyboard support for interaction. You can open the DropDownGrid without clicking the toggle button in SfMultiColumnDropDownControl by using the keyboard shortcuts.

Keyboard shortcut Description
Enter If the popup is opened, then closes the popup and sets the `SelectedItem`.
Esc If the popup is opened, then closes the popup and reverts the modified value.
F4, ALT + UP, ALT + Down Shortcuts to open and close the popup.

Getting editor text

You can access the text displayed in the Textbox by using SfMultiColumnDropDownControl.Text property.

        <ColumnDefinition Width="400" />
            <ColumnDefinition Width="*" />
<syncfusion:SfMultiColumnDropDownControl x:Name=”sfmultiColumn”
                                         ItemsSource=”{Binding Orders}” />
        <StackPanel Grid.Column="1" Margin="0,100,0,0">
    <TextBlock FontSize="16" Text="MultiColumnDropDownControl text " />
    <TextBlock FontSize="22"
               Text="{Binding ElementName= sfmultiColumn,
                              Path=Text}" />    
var text = this.sfMultiColumn.Text;

Selecting text when editor got focus

You can select the text displayed in the textbox when it got the focus from any other control by setting TextSelectionOnFocus property.