Completed
Last Updated: 13 Apr 2023 10:35 by ADMIN
Release LIB 2023.1.424 (24 Apr 2023)
Martin Ivanov
Created on: 04 Apr 2023 09:11
Category: RibbonView
Type: Bug Report
0
RibbonView: NullReferenceException when the control is minimized initially

NullReferenceException is thrown on start up of the application, when the IsMinimized property of RadRibbonView is set to True initially. For example, if you set it in XAML.

To work this around, set the IsMinimized property in the Loaded event handler of RadRibbonView.

private void RadRibbonView_Loaded(object sender, System.Windows.RoutedEventArgs e)
{
	var ribbonView = (RadRibbonView)sender;
	ribbonView.IsMinimized = true;
}

 

0 comments