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:

<Canvas/>

Items placed randomly in a canvas layout panel

Cc295269.e1ae27f0-3a57-454e-b580-877dcea8836d(en-us,Expression.40).png

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