Expander > Expander Features > Working with the C1Expander Control > Expand Direction |
The C1Expander control includes the option to specify the expand direction using the C1Expander.ExpandDirection property. In addition to setting how the direction the control expands, changing the ExpandDirection also changes the header's orientation to the content area of the control. By default the ExpandDirection property is set to Down and the control expands from top to bottom.
The following table illustrates each ExpandDirection setting.
ExpandDirection |
Result |
Down |
|
Up |
|
Right |
|
Left |
|
You can set the collapsing and expanding direction in Blend, XAML, or code. For task-based help on changing the expand direction, see Changing the Expand Direction.