Click here to Skip to main content
12,458,160 members (56,255 online)
Click here to Skip to main content

Centering elements on a canvas in WPF

While I was fiddling around with WPF in general I noticed that when I dropped inane little circles and boxes onto a canvas I'd never be able to center it inside the containing canvas just right. If you try the following XAML in the excellent Kaxaml tool for instance:
We're sorry, but the article you are trying to view was deleted at 27 Apr 2009.

Please go to the C# Table of Contents to view the list of available articles in this section.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160826.1 | Last Updated 31 Mar 2009
Article Copyright 2009 by Rajasekharan Vengalil
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid