The UpdateBindingOnTextChange is a very useful behavior which allows to delay a binding update on the TextChanged event of a TextBox. This way, it is possible to implement search boxes that only start a search after a specific time when no new key presses have occurred. For example, when a user types a new search string, and the user doesn’t enter a new key for 500 ms, the binding is updated.

  1. Add the following XML namespaces:
  1. Use the following definition. This example will update the binding after 500 ms where normally it would only occur when the user tabs out of the TextBox:
<TextBox Text="{Binding SearchParam, Mode=TwoWay}">
        <catel:UpdateBindingOnTextChanged UpdateDelay="500" />


We would like to thank the following contributors:

Want to contribute to the documentation? We have a guide for that!


Have a question about Catel? Use StackOverflow with the Catel tag!