[]
To create a collapsed panel, use the Collapsible property. In this topic, you will learn how to set the Collapsible property in design view and in code.
For more information on collapsed and expanded panels, see Collapsible and Expandable Panels.
Complete the following steps:
Add C1SplitContainer to the form.
Click on the C1SplitContainer’s smart tag to open its tasks menu.
Select Add Panel to add a panel to the C1SplitContainer control.
Click inside Panel 1 and open its tasks menu. The C1SplitterPanel Tasks menu appears.
Check Collapsible to make Panel 1 collapsible and expandable.
Complete the following steps:
Declare the following namespace into your project:
Imports C1.Win.C1SplitContainer
using C1.Win.C1SplitContainer;
Add the following code, which sets the Collapsible property, to the Form_Load event:
Panel1.Collapsible = True
Panel1.Collapsible = True;
Run the program.
This topic illustrates the following:
Panel1 is collapsed.
To expand the panel, simply click the expand button.