We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the SelectionMode for selecting an item in the Autocomplete control?

Autocomplete control selection mode for selecting items can be set by using the SelectionMode Property. By using this property, the autocomplete Selection mode can be changed as Single, Multiple, Extended.

When the SelectionMode property is set as Single, you can select only one item at a time. Multiple mode allows you to select multiple items by using the SeparatorCharacter and Extented allows you to select multiple items by pressing the Ctrl key.

Refer to the following code examples.

XAML

 

C#

 

Output:

The following screenshot displays the different types of SelectionMode in the AutoComplete control.

 

 

           Single

 

 

 

 

 

             Multiple

 

             Extended:

 

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
5386 08/25/2015 08/25/2015 WPF AutoComplete 4.5
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon