WPF: How to get the bounds of a control in an automatic layout container,
Posted by: Simple Talk,
on 24 Nov 2010 |
View original | Bookmarked: 0 time(s)
How do you get the bounds of a control in an WPF automatic layout container, in the container coordinate space? You might wonder why this is necessary at all, given that WPF implements layout for you in most cases (except for containers such as Canvas), but trust me, if you're developing custom elements, at some point you're probably going to need it....