Edit this page

Using TextBoxBehavior

TextBoxBehavior

You can use attached behavior pattern in order to change the default behavior of a TextBox.

The TextBoxBehavior is available within Telerik.Windows.Controls assembly and you can use it out of the box. A list of its members could be bound here.

For example you can update the source of the binding on every text change. You could apply the behaviour like so:

<TextBox Text="{Binding Name}" telerik:TextBoxBehavior.UpdateTextOnTextChanged="True" />