This topic demonstrates how to start using RadTextBox for Windows Phone.
To start using RadTextBox, the first thing that has to be done is adding references to the required assemblies:
Then, the following namespace has to be declared:
Here is how RadTextBox is declared in XAML:
<telerikPrimitives:RadTextBox x:Name="radTextBox" />
And in C#:
RadTextBox radTextBox = new RadTextBox();
You can easily add an action button by setting the ActionButtonVisibility
property to Visible and then you can use a command with the ActionButtonCommand property or subscribe to
the ActionButtonTap event and perform your logic for the action button. Here is how RadTextBox looks
with the default style for the ActionButton:
Please note that there is also a ClearButton that clears all the text from the text box, but it
appears only after you start typing in the RadTextBox.