Extended Library for WPF and Silverlight | ComponentOne
Accordion / Accordion Task-Based Help / Expanding and Collapsing Accordion Panes / Expand Direction
In This Topic
    Expand Direction
    In This Topic

    The C1Accordion control includes the option to specify the expand direction using the C1Accordion.ExpandDirection property. In addition to setting the direction that 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

    The C1Accordion control includes the option to specify the expand direction using the ExpandDirection property. In addition to setting the direction that 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.