Here is how you would access a Canvas.Left extended property for example:
<DataTemplate x:Key='MyTemplate1'>
<Path Data='{Binding Geometry}'>
<Path.RenderTransform>
<!-- The Item property returns a visual hosted inside the Canvas -->
<RotateTransform Angle='60' CenterX='{Binding Item.(Canvas.Left)}'
CenterY='{Binding Item.(Canvas.Top)}'
>
</RotateTransform>
</Path.RenderTransform>
</Path>
</DataTemplate>
Share with