Basic Library for WPF and Silverlight | ComponentOne
WPF and Silverlight Edition Basic Library / HyperPanel / HyperPanel Features / Alignment
In This Topic
    Alignment
    In This Topic

    The HorizontalAlignment and VerticalAlignment properties control how the C1HyperPanel panel is aligned in the containing panel or window. By default, both properties are set to Stretch and the panel is stretched to fill the entire space available.

    HorizontalAlignment options include Left, Center, Right, and Stretch. If, for example, HorizontalAlignment was set to Right, the panel would appear at the right of the available area like in the following image:

     

    VerticalAlignment options include Top, Center, Bottom, and Stretch. If, for example, VerticalAlignment was set to Top, the panel would appear at the top of the available area like in the following image: