Completed
Last Updated: 24 Jan 2020 13:57 by ADMIN
Release LIB 2020.1.127
ADMIN
Dinko | Tech Support Engineer
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