Core Layout Panels in Silverlight

StackPanel Places elements in a horizontal or vertical stack. This layout container is
typically used for small sections of a larger, more complex page.
WrapPanel
Places elements in a series of wrapped lines. In horizontal orientation, the WrapPanel lays items out in a row from left to right and then onto subsequent lines. In vertical orientation, the WrapPanel lays out items in a top-to-bottom column and then uses additional columns to fit the remaining items. This layout container is available in the Silverlight Tookit.

DockPanel
Aligns elements against an entire edge of the container. This layout container is available in the Silverlight Tookit.

Grid
Arranges elements in rows and columns according to an invisible table. This is one of the most flexible and commonly used layout containers.

Canvas
Allows elements to be positioned absolutely using fixed coordinates. This layout container is the simplest but least flexible.

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.