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....

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: WPF | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1100 | Hits: 24

Similar Posts

  • Designer v Xaml v Code more
  • API changes introduced by the new CoverFlow control more
  • Building Advanced Layouts With RadSplitContainer more
  • CodeDigest.Com Article,Codes,FAQs - April,2009 more
  • InfoStrat releases a Virtual Earth control for both WPF and Surface to CodePlex more
  • Script for Bulk Import of Active Directory Subnets more
  • Take Charge of Your Security more
  • How to use Ninject with ASP.NET MVC more
  • Handling Formats Based On Url Extension more
  • .NET FX 4 more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD