Completed
Last Updated: 17 Nov 2014 08:45 by ADMIN
ADMIN
Dimitar
Created on: 10 Jul 2014 05:52
Category: RibbonBar
Type: Bug Report
1
FIX. RadRibbonBar - When the theme is set to Office2013Light and the title bar buttons are disabled one is still able to close the form with backstage view.
To reproduce:
- Add a ribbon bar to a blank form and set the theme to Office2013Light
- Disable the title bar buttons:
this.radRibbonBar1.MaximizeButton = false;
this.radRibbonBar1.MinimizeButton = false;
this.radRibbonBar1.CloseButton = false;

- The buttons are still visible when the backstage view button is clicked.

Workaround:
radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.CloseButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.MaximizeButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
radRibbonBar1.BackstageControl.BackstageElement.TitleBarElement.MinimizeButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
0 comments