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:
Complete the following steps:
Visual Basic
Visual Basic |
Copy Code
|
---|---|
Imports C1.Win.C1SplitContainer |
To write code in C#
C# |
Copy Code
|
---|---|
using C1.Win.C1SplitContainer; |
Visual Basic
Visual Basic |
Copy Code
|
---|---|
Panel1.Collapsible = True |
To write code in C#
C# |
Copy Code
|
---|---|
Panel1.Collapsible = True; |
Panel1 is collapsed.
To expand the panel, simply click the expand button.