How to add auto-append UI in WinUI AutoComplete Control?
This article explains how to add auto append support in the WinUI AutoComplete control.
The AutoComplete control provides auto-append support with the selection of text as well as text alone. The auto-append UI can be defined by using the AppendType property. There are two types of auto-append UI:
- TextWithSelection
- Text
Auto-append UI as TextWithSelection
When entering a text in the text box selection area, if the AppendType property is TextWithSelection, the appended text appears with the selection.
XAML:
<editors:SfAutoComplete AppendType="TextWithSelection">
</editors:SfAutoComplete>
Auto-append UI as Text
When entering a text in the text box selection area, if the AutoAppendType property is Text, the appended text appears in a fading foreground.
XAML:
<editors:SfAutoComplete AppendType="Text">
</editors:SfAutoComplete>
Conclusion
I hope you enjoyed learning how to add auto append support in WinUI AutoComplete Control.
You can refer to our WinUI Autocomplete feature tour page to learn about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications.
For current customers, you can check out our components from the Licence and Downloads page. If you are new to Syncfusion, you can try our 30-day f free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forum, Support portal, or feedback portal. We are always happy to assist you!