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

Hide Panel Bar

1 Answer 127 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jacob
Top achievements
Rank 1
Jacob asked on 04 Dec 2012, 05:37 PM
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.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 07 Dec 2012, 09:10 AM
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,
Stefan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PanelBar
Asked by
Jacob
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or