Skip to Main Content
Silverlight 5 in Action
book

Silverlight 5 in Action

by Pete Brown
June 2012
Beginner content levelBeginner
1000 pages
33h 35m
English
Manning Publications
Content preview from Silverlight 5 in Action

Chapter 8. Panels

 

This chapter covers
  • Using absolute layout with the Canvas
  • Stacking items with the StackPanel
  • Wrapping items with the WrapPanel
  • Using the Grid for cell-based layout

 

Panels in Silverlight provide a way to host multiple elements and provide unique layout logic. For example, you may want a panel that lays out elements so they appear to radiate out of a central point (think of the wheel on Wheel of Fortune). Rather than provide each and every control with the knowledge required to perform that layout, Silverlight leaves it to the panel.

This delegation to panels and the layout system is why you won’t see Left and Top properties on UI elements—those properties are provided by the panels in the form of attached properties ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Silverlight 4 in Action

Silverlight 4 in Action

Pete Brown

Publisher Resources

ISBN: 9781617290312Publisher SupportOtherPublisher WebsitePurchase Link