Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonView > How do I hide the Backstage in the code behind?

Answered How do I hide the Backstage in the code behind?

Feed from this thread
  • Guy avatar

    Posted on Apr 26, 2012 (permalink)

    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

    Reply

  • Answer Petar Mladenov Petar Mladenov admin's avatar

    Posted on Apr 27, 2012 (permalink)

    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 >>

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Guy avatar

    Posted on Apr 27, 2012 (permalink)

    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.

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on May 1, 2012 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonView > How do I hide the Backstage in the code behind?