Getting Started with WinForms AutoCompleteBox
RELATED VIDEOS | |
---|---|
Getting Started with RadAutoCompleteBox for WinForms RadAutoCompleteBox allows the end-user to easily fill-in text thanks to auto-complete functionality and tokens of text. This behavior is similar to the “To” field of Outlook and Facebook where you are filling-in the recipients to which you are going to send a new message. |
The RadAutoCompleteBox allows your users to select multiple items from a predefined list, using auto completion as they type. You may have seen a similar type of text entry when filling in the recipient’s field, while sending messages on Facebook. RadAutoCompleteBox inherits all features of RadTextBoxControl.
Each tokenized text block is separated by character, specified by the Delimiter property. You can change the Delimiter at any time.
The code below sets text in the control at run time:
private void SetText()
{
this.radAutoCompleteBox1.Text = "Germany;USA;Brazil;Bulgaria;Croatia;Serbia;";
}
Private Sub SetText()
Me.RadAutoCompleteBox1.Text = "Germany;USA;Brazil;Bulgaria;Croatia;Serbia;"
End Sub
You can determine the visibility of the remove button by changing the ShowRemoveButton property:
this.radAutoCompleteBox1.ShowRemoveButton = false;
Me.RadAutoCompleteBox1.ShowRemoveButton = False
See Also
- Caret Positioning and Selection
- Creating Custom Blocks
- Element Structure and Document Object Model
- Properties and Events
- Text Editing
- Auto-Complete
Telerik UI for WinForms Learning Resources
- Telerik UI for WinForms AutoCompleteBox Component
- Getting Started with Telerik UI for WinForms Components
- Telerik UI for WinForms Setup
- Telerik UI for WinForms Application Modernization
- Telerik UI for WinForms Visual Studio Templates
- Deploy Telerik UI for WinForms Applications
- Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)
- Telerik UI for WinForms License Agreement)