Reputation: 12920
new PropertyPath("(RotateTransform.Angle)")
why do we need the brackets around RotateTransform.Angle? And why sometimes we don't need brackets around it?
Cheers
Upvotes: 8
Views: 6346
Reputation: 4459
According to this: MSDN Binding.Path the brackets indicate that the path refers to an attached property. Since attached-properties are not declared on the dependency-object itself, the binding might need an indicator to distinct dependency-properties from attached properties.
/edit: sorry, gave you a german link, see my update.
Upvotes: 6