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
<telerik:RadWindow.Header>
<TextBox Text="{Binding Text}" telerik:WindowHost.HitTestable="True" />
<telerik:RadWindow.Header>