In Silverlight 4: I'm converting a Usercontrol to a templated control. In my Usercontrol I had a RenderTransform
<src:UserControlView.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform X="-478" Y="-478"/>
</TransformGroup>
</src:UserControlView.RenderTransform>
But now I'm in the Controltemplate I get an error message:
Error 5 The attachable property 'RenderTransform' was not found in type 'MyControl'. ...\Themes\Generic.xaml
<local:MyControl.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="-478"
Y="-478" />
</TransformGroup>
</local:MyControl.RenderTransform>
the local:MyControl is a desperate attempt 'cause I don't know how or where to look. My MyControl inherits from Control en there is a RenderTransform on UIElement so it somehow has to find it right?