Hide Panel Bar

2 posts, 0 answers
  1. Jacob
    Jacob avatar
    1 posts
    Member since:
    Dec 2012

    Posted 04 Dec 2012 Link to this post

    If you take a look at the Demo of PanelBar (http://demos.telerik.com/silverlight/#PanelBar/FirstLook) that is essentially what I want, but with the added functionality of collapsing the entire PanelBar to Left and information on the right expanding to the left. With just a button or something to re-expand the menu.

    Apologies if there was a more appropriate area to post this, as this was my best guess.
  2. Stefan
    Stefan avatar
    89 posts

    Posted 07 Dec 2012 Link to this post

    Hi Jacob,

    I have two suggestions:

    1) You can use the RadOutlookBar instead of RadPanelBar, because the RadOutlookBar implements both functionalities you want.

    2) You can use the demo's code and put the RadPanelBar in RadExpander. In this case what you need to do is to replace the main Grid and the one nested in it and put a StackPanel with horizontal orientation. As a first child of the StackPanel you should put a RadExpander with ExpandDirection = Right and the second child could be a panel which to hold the content you want. The RadPanelBar should be a child of the RadExpander.

    To demonstrate you the second approach I modified and attached the code of the RadPanelBar's demo which you can examine.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top