Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
WebSplitter - Open/Collapse panes to maximum/minimum size only
posted

Using the WebSplitter control, I have 2 panes with a vertical splitter bar.  What I want to happen is have the right pane open partially (10%) and then when the splitter bar is clicked, I want it to expand the max size (90%)... and then when clicked again, collapsed back down to the min size (10%).  I have set the right pane to minsize="10%" which shows me the right pane as partially open.  However, when clicking on  the splitter bar, it collapses the pane instead of opening it to the max 90%.  Is there a way to do this?

 

Thanks.

Parents
No Data
Reply
  • 275
    Suggested Answer
    Offline posted

    Hello Tom,

    There is a way that this could be possibly achieved and one way I could suggest is to bind to the SplitterPane Collapsed event and depending which
    position the bar is you can position it accordingly.

    For example if it's the first pane that is collapsed, the first pane need to expanded again since it's already collapsed
    and it's size to be set to the position you need.

    If you need more information let me know.

    Regards,
    Svetoslav Krastev,
    Infragistics

Children
No Data