Unplanned
Last Updated: 11 Aug 2016 14:04 by ADMIN
ADMIN
Telerik Admin
Created on: 02 Sep 2011 17:14
Category: Window
Type: Bug Report
5
Window: When WindowState is set to Maximized and CanMove is false, the RadWindow still can be moved.
As a workaround you can set:  window.CaptionHeight= 0;
1 comment
ADMIN
Nasko
Posted on: 16 Sep 2015 14:21
Here is a workaround for WPF. Setting the HitTestable attached property to True for the Header of RadWindow will prevent this issue from happening:

private void RadWindow_Loaded(object sender, RoutedEventArgs e)
{
    var window = sender as RadWindow;
    window.ResizeBorder = new Thickness(0);
    window.CaptionHeight = 0;
 
    var gridHeader = (sender as RadWindow).Template.FindName("Header", sender as RadWindow) as Grid;
    WindowHost.SetHitTestable(gridHeader, true);
}