Hiding the documenthost

2 posts, 0 answers
  1. Jason
    Jason avatar
    47 posts
    Member since:
    Jan 2013

    Posted 21 May 2014 Link to this post

    We have a problem that is actually a result of the backstage panel in the RibbonView, but I think the solution lies with the docking control.

    In our application, the user can open a number of documents, all of which host WinForms controls. Unfortunately, when then backstage panel is opened on the RibbonView, the WinForms controls still show through. My understanding is that this is an issue with airspace.

    My theory was that we could hide the documents when opening the backstage panel, but I'm unclear as to how we could do this. I was hoping I could set the visibility of the documenthost or panegroup, but this has no affect. Even setting the documentpane only hides the tab at the top.

    Any help would be appreciated.

    Thanks
  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 23 May 2014 Link to this post

    Hello Jason,

    In order to hide the DocumentHost you can either set the HasDocumentHost property of the Docking control to false or you can hide all of the Panes inside of the DocumentHost. Could you please test those two solutions and let me know if they help.

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top