Charles Petzold



Animating Attached Properties

September 8, 2007
New York, N.Y.

A couple WPF programmers have puzzled about this subject recently so maybe next time somebody has the problem they'll find this blog entry.

When setting Storyboard.TargetProperty to an attached property (such as Canvas.Left or Canvas.Top), put the fully-qualified property name in parentheses:

Here's a functional example: