Change height of panel

2 posts, 0 answers
  1. kris860911
    kris860911 avatar
    8 posts
    Member since:
    Jun 2007

    Posted 13 Feb 2008 Link to this post


    I am having a problem with the Docking.
    This is what I have so far.
    I have created a panel (Telerik.WinControls.Docking.IDockable)
    This panel is then added to the current panels with the docking manager.

    However, I would like this to be separate at the bottom.
    So, I have told the docking manager to create a new horizontal tab group (DockingManager.NewHorizontalTabGroup) and given my panel.

    This works great so far. It is separated from the other panels, and is at the bottom, however I have two problems that I cannot seem to sort out.

    1) (Not critical) I would like to hide the tab at the top of this new horizontal group. It is the only tab that will ever be here, and is just wasting a little bit of space.

    2.) (NB) I need to adjust the size of this bottom TabGroup. It is too big (The two tab groups have split the screen 50/50 I think). I need to make it smaller. So that my new TabGroup at the bottom is say 50pixels in height or so... How would I do this?

  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 13 Feb 2008 Link to this post

    Hello Chris,

    Thank you for writing.

    The DockingManager.NewHorizontalTabGroup is used for the TabbedDocument behavior.

    1) For the current edition of RadDock we do not provide a safe API for accessing and hiding the TabStripElement. You can try this unsafe workaround:

    this.dockPanel1.DockableTab.ParentTabStrip.Visibility = ElementVisibility.Collapsed; 

    2) Set the Size property of DockPanel or DocumentPane object.

    I hope this was helpful. If you have any additional questions, please contact us.

    Julian Benkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top