This is a migrated thread and some comments may be shown as answers.

How do I hide the Backstage in the code behind?

3 Answers 196 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Guy
Top achievements
Rank 1
Guy asked on 26 Apr 2012, 10:03 PM
Hi,

I have some RadRibbonButton layed out on the Backstage and I want to hide the Backstage when I click on them. Unfortunately, I can not seem to find the way to hide the Backstage in code.

Thank You

3 Answers, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 27 Apr 2012, 02:14 PM
Hi Guy,

 In a typical code behind solution , you can use the RadRibbonView's IsBckstageOpen property.
In a complex MVVM scenario you should bind this property to boolean property X from your ViewModel. Clicking on your button should activate command and the code for this Command should set the boolean property from your ViewModel to False.

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Guy
Top achievements
Rank 1
answered on 27 Apr 2012, 03:58 PM
Thank You, I had overlooked that property.

I'd also want to know if there is a way to define the width and height of the BackstageItem Icon? I would like to set a bigger icon for it.
0
Petar Mladenov
Telerik team
answered on 01 May 2012, 12:59 PM
Hello Guy,

 Yes, you can edit the Style of the RibbonBackstageItem and then edit the Image in the Template.

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RibbonView and RibbonWindow
Asked by
Guy
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Guy
Top achievements
Rank 1
Share this question
or