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

RadRibbonView Backstage - WebBrowser

1 Answer 80 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
DomiH
Top achievements
Rank 1
DomiH asked on 06 Mar 2013, 11:26 PM

Hi Telerik Team!

I’m evaluating your WPF control bundle for one of our new applications and have some problems regarding the backstage tab in combination with a WebBrowser control in the content area of my prototype. Although the backstage tab is active, the WebBrowser control is visible and overlaps my backstage-content. Is there a way how I can solve this problem?

Best regards,

Dominik

1 Answer, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 11 Mar 2013, 09:02 AM
Hi Dominik,

You could change the visibility of the WebBrowser Control once the Backstage is opened. If you are using MVVM pattern you could bind to the IsBackstageOpen property of the RadRibbonView or simply use the ApplicationMenuOpenStateChanged event of the RibbonView to change the WebBrowser visibility:
private void On_ApplicationMenuOpenStateChanged(object sender, Telerik.Windows.RadRoutedEventArgs e)
{
    if (xRibbon.IsBackstageOpen)
    {
        this.webBrowser.Visibility = Visibility.Collapsed;
    }
    else
    {
        this.webBrowser.Visibility = Visibility.Visible;
    }
}
I hope this information help, please do not hesitate to ask further questions.

Kind regards,
Kiril Vandov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RibbonView and RibbonWindow
Asked by
DomiH
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Share this question
or