StackPanel


StackPanelHierarchy: UIElement FrameworkElement Panel

     <StackPanel         Orientation="Horizontal|Vertical" /> 

<StackPanel. . . /> stacks elements in the direction specified by the Orientation attribute. Specifying Horizontal as the Orientation causes child elements to flow left to right. If the Orientation is declared as Vertical, elements will flow top to bottom.

Attributes


Orientation (optional)

Determines how child elements are stacked in the panel.


Horizontal

Child elements are stacked from left to right. This is the default behavior.


Vertical

Child elements are stacked from top to bottom.




XAML in a Nutshell
XAML in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596526733
EAN: 2147483647
Year: 2007
Pages: 217

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net