Changing the Initial Expand State
By default, the C1Expander control's IsExpanded property is set to False, meaning that the control will appear in its collapsed state upon page load. If you'd prefer that the C1Expander control be expanded upon page load, you can set the IsExpanded property to True in the Properties window, in XAML, or in code.
At Design Time
To set the IsExpanded property to True, complete the following steps:
1. Click the C1Expander control once to select it.
2. In the Properties window, locate the IsExpanded check box and then select it.
In XAML
To set the IsExpanded property to True in XAML, add IsExpanded="True" to the <c1ext:C1Expander> tag so that it appears similar to the following:
<c1ext:C1Expander IsExpanded="True" Name="C1Expander1" Width="150" Height="55">
In Code
To set the IsExpanded property to True in code, complete the following steps:
1. Enter Code view and add the following code beneath the InitializeComponent() method:
C1Expander1.IsExpanded = True
•C#
c1Expander1.IsExpanded = true;
2. Run the program.