Add minimize button and functionality to RadPane

3 posts, 0 answers
  1. Joe Biggert
    Joe Biggert avatar
    17 posts
    Member since:
    Feb 2010

    Posted 08 Feb 2012 Link to this post

    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. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 15 Feb 2012 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Joe Biggert
    Joe Biggert avatar
    17 posts
    Member since:
    Feb 2010

    Posted 15 Feb 2012 Link to this post

    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!
Back to Top