Layout with Designer Support: Anchoring

Code samples and article discussion

Moderators: Frank Hileman, Anne Szyjan

Post Reply
User avatar
Frank Hileman
Site Admin
Posts: 1400
Joined: Sun Jul 25, 2004 8:16 pm
Location: California

Layout with Designer Support: Anchoring

Post by Frank Hileman » Fri Oct 26, 2007 8:16 am


This sample is for version 4.0 and upward. This sample demonstrates how to implement complex, recursive layout algorithms, and how to provide designer support to edit properties controlling layout:

Complex Anchoring Sample

In version 4.1 we hope to provide general purpose layout support, so you can use several built-in algorithms, as well as provide your own algorithms, all with design-time support.

The "anchoring" algorithm here differs from traditional layout in that Elements are allowed to overlap.

Note: The mathematics are dense for the layout algorithm provided. For a simple anchoring sample please use this:

Anchoring, Docking Sample


Post Reply