# Allow Hit Test on Controls in the Header

By default `RadWindow` handles the mouse events for the elements defined in its header, which excludes them from the hit testing.

This means that placing input controls like `TextBox` or `Button` won't react to the mouse events. To change this behavior, set the `WindowHost.HitTestable` attached property on the corresponding element to `true`.

**Set the WindowHost.HitTestable property**

```XAML
<telerik:RadWindow.Header>
    <TextBox Text="{Binding Text}" telerik:WindowHost.HitTestable="True" />
</telerik:RadWindow.Header>
```

## See Also

* [Center the Header of the RadWindow](https://www.telerik.com/products/wpf/documentation/controls/radwindow/how-to/center-the-header-of-the-content)
* [Working with RadWindow](https://www.telerik.com/products/wpf/documentation/controls/radwindow/features/working-with-radwindow)
* [Hide the Maximize and Minimize Buttons](https://www.telerik.com/products/wpf/documentation/controls/radwindow/how-to/hide-minimize-maximize-buttons)
