Approved
Last Updated: 04 Jan 2017 07:26 by ADMIN
ADMIN
Dinko
Created on: 22 Aug 2016 10:06
Category: RibbonView
Type: Bug Report
0
RibbonWindow: The RibbonWindow is still resizable when IsWindowsThemeEnabled property is set to False and the ResizeMode property is set to NoResize of the RibbonWindow
Workaround:
In the Loaded event of the RibbonWindow, use the Telerik.Windows.Controls.RibbonView.Shell.WindowChrome class to get the current window and set its ResizeBorderThickness property to 0. 

public MainWindow()
{
    InitializeComponent();
    this.Loaded += MainWindow_Loaded;
}
 
void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
    Telerik.Windows.Controls.RibbonView.Shell.WindowChrome chome = Telerik.Windows.Controls.RibbonView.Shell.WindowChrome.GetWindowChrome(this);
    chome.ResizeBorderThickness = new Thickness(0);
}
0 comments