Toolwindow and header context menu

2 posts, 0 answers
  1. Cyrus
    Cyrus avatar
    2 posts
    Member since:
    Aug 2015

    Posted 09 Oct 2015 Link to this post

    I'm working at the begging of a largish application and we really like the RadDocking functionality to provide some MDI type functionality to our users.

    One issue that I'm having is updating the context menu of the tool window, like I've done for the RadPane.  I've attached the RadPane context menu image and I would like the to make the tool window header context menu match the radpane context menu.

     Another way of stating the proboem, I'm trying to remove the AutoHide and Hide options for the ToolWindow Header Context menu.  I've tried modifying the ToolWindowStyle in my Telerik.Windows.Controls.Docking.xaml and removing the Border element that is present.  But that didn't work.  Any help or pointers would help me tremendously.

     I'm on version 2015.3.930.45 and using implicit styles.

     Thanks,

    Cyrus

     

  2. Cyrus
    Cyrus avatar
    2 posts
    Member since:
    Aug 2015

    Posted 13 Oct 2015 Link to this post

    So I was able to figure out my issue.  Originally, to style the Rad Panes I was using embedded styles in the user control.  When the rad pane is pulled out into a tool window, it's styles are pulled from higher up in the visual tree

    - http://www.telerik.com/forums/floating-radpane-events.

    - http://www.telerik.com/forums/radpane-mvvm-floating-issue

     

    When I edited the implicit themes and removed my items from the context menu, the tool window picked up those changes.

     

     

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top