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

Add minimize button and functionality to RadPane

2 Answers 122 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Joe Biggert
Top achievements
Rank 1
Joe Biggert asked on 08 Feb 2012, 08:31 PM
While I know it is possible to add custom buttons ta a RadPane header, is it possible to add functionality such as 'minimize' to it? Specifically when it is NOT floating?

For example, I have a RadPanelBar with 4 panels stacked vertically. I want a button in each RadPane header that will effectively 'minimize' the RadPane to just the header. Obviously I'd like the opposite effect too. It doesn't appear that there are any sizing methods to do this  as just changing the heights has odd results... especially when multiple RadPanes are 'minimized'.

2 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 15 Feb 2012, 08:31 AM
Hi Joe,

You can create a command in which you can use the IsHidden property of the RadPane to show/hide it. It will be minimized to a tab. There is no need for changing the size of the Pane, furthermore the size won't be retained after dragging or changing the position of the Pane.

Hope this helps.

Kind regards,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Joe Biggert
Top achievements
Rank 1
answered on 15 Feb 2012, 04:47 PM
I have a better understanding of the control and specifically what ask so reviewing my original post, I was mistaken in the terminology. My intent was to "minimize" the RadPane to its header, not "minimize" it to the Tabs underneath the RadPaneGroups. Given a second post I have on the subject, it doesn't sound like the RadPane is what I want to use for this. I've moved on to using RadPanelBar which provides the collapsing into the header functionality that I need. Now I don't get the cool docking stuff that I want but unless I can somehow style a RadPane to be a RadPanelBarItem or RadExpander and function the same way, it sounds like my hands are tied.

Thank you for your response though!
Tags
Docking
Asked by
Joe Biggert
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Joe Biggert
Top achievements
Rank 1
Share this question
or