Using the Canvas layout panel

A Canvas layout panel is the simplest layout panel in Microsoft Expression Blend. It supports absolute positioning and does not apply any layout policy to its child objects—it is a blank canvas. Use a Canvas layout panel when fixed positioning is paramount. Objects that you place in a Canvas layout panel will not automatically resize when you resize your application as they can with a Grid layout panel.

Add a Canvas layout panel to a document by using the Assets panel Cc295269.0d8b8d29-1af9-418f-8741-be3097d76eab(en-us,Expression.40).png or the layout container button in the Tools panel. The following XAML code is added to your project:


Items placed randomly in a canvas layout panel


Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.