About Syncfusion® WPF AutoComplete (SfTextBoxExt) Control
18 Nov 20181 minute to read
Description
The WPF AutoComplete control is an extended version of the TextBox control. The WPF AutoComplete control is implemented through the SfTextBoxExt class, and most of its functionality is inherited from the TextBox class.
Key features
- AutoComplete modes: The control provides the suggestions based on a predefined collection while typing.
- Watermark: The control will prompt some information when it is not in focus and contains an empty string.
- Filtering suggestion items: Suggestions can be filtered in 18 different modes like StartsWith, EndsWith, Contains, Equals, and Custom. AutoComplete provides both the case-sensitive and insensitive modes.
- Popup delay: The filtering process can be delayed. Displaying filtered suggestions from a drop-down list may also be delayed for a period of time.
- Minimum prefix characters: Instead of displaying suggestion list on every character entry, matches can be filtered and displayed after a few character entries.
- Customization support: The WPF AutoComplete provides the options to customize both text box and drop-down list.
- Diacritic sense: The control can populate items from a language with letters containing diacritics, and search for them with English characters from an en-US keyboard.
- Highlighting text: The control can highlight the matching text in the suggestion list based on the input given in it.
- Custom filter: The WPF AutoComplete can filter the items in the suggestion list based on a custom filtering condition.
- Multi selection support: Selecting multiple items from a suggestion list.
- Suggestion box adjustment: Adjust the position of popup relative to the control.
- Enable auto size: Auto sizing can be enabled in WPF AutoComplete control so that the control will extend its layout based on the tokens size in wrap mode.
- AutoComplete template: It can be used for own template.
- No results found template: Set the desired text when the typed item does not exist in the collection.
- Retrieving the selection: Retrieve the selected item, index, and value.