Focus Input Controls In Header

An interesting use case when working with the RadWindow control is when you want to add an input control, let's say TextBox, for example, to the window's header. When trying to do so, however, you will notice that the RadWindow itself handles various mouse events. In such way it prevents the input control from gaining focus, making it almost unusable.

To prevent the RadWindow from handling the mouse events, you have to set the attached WindowHost.HitTestable of the input control to True.

Example 1: Set WindowHost.HitTestable property

<TextBox Text="{Binding SearchText}" telerik:WindowHost.HitTestable="True" /> 

See Also

In this article