product caption

Collapse/Expand

Run example in: C# VB.NET



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
Collapse/expand the left pane
Middle pane1
Collapse/expand the left pane
Collapse/expand the right pane
Middle pane2
Collapse/expand the right pane
End Pane


The splitter below has the Collapsed property of the MiddlePane1 set to true.

Left pane
Collapse/expand the left pane
Middle pane1
Collapse/expand the left pane
Collapse/expand the right pane
Middle pane2
Collapse/expand the right pane
End Pane
Source Code & Description