Binding To Attached Properties (like Grid.Row, Grid.Column, Canvas.Left, Canvas.Top, blah.something, etc)

I recently spent a couple hours trying desperately to bind a TextBlock to the Canvas.Left and Canvas.Top properties for a project I’m working on. My binding looked like this:  {Binding ElementName=MyElement, Path=Canvas.Left, Mode=Default} Couldn’t do it. I tried bloody everything to get this thing to work, but it wouldn’t do it. Then I found a…

Read More

Viewing WPF Performance

So I recently found and installed the WPF Performance Suite, which I’ve found to be nice and easy to use. Microsoft documentation on using the WPF Performance Suite. As a designer, I’ve found the Perforator a particularly useful tool in the suite. Perforator is a performance profiling tool for analyzing rendering behavior. The Perforator main…

Read More