Use
the collapse bar image to collapse/expand the panes. The first SplitBar element
has
CollapseMode set to
Forward. The middle SplitBar has
CollapseMode
set to
Both. The end SplitBar has
CollapseMode set to
Backward.
Note that for the middle SplitBar when one of the collapse images is clicked
the other is disabled until the first image is expanded again.
Left pane | | Middle pane1 | | Middle pane2 | | End Pane |
The splitter below has the
Collapsed property of the
MiddlePane1 set to
true.
Left pane | | Middle pane1 | | Middle pane2 | | End Pane |
Source Code & Description
Collapse / Expand Panes
RadSplitter allows you to enable the collapse of a pane using the
CollapseMode
property of the RadSplitBar object.
CollapseMode property has the
following values:
-
None - collapse is not enabled.
-
Forward - the pane at the left (top) position of the SpltBar will be collapsed.
This is the default value.
-
Backward - the pane at the right (bottom) position of the SpltBar will be
collapsed
-
Both - collapse can be done in both direction
When the SplitBar is collapsed in one of the directions, the collapse in the
other direction is disabled when the value of
CollapseMode is set to
Both.