>>Hi,
>>
>>Say I have a UIElement displayed on screen (for the sake of argument a rectangle) that has been scaled using a Transform.
>>I don't have access the the actual ScaleTransform that was originally applied - only a current MatrixTransform.
>>Is it possible to determine the actual size of the Rectangle on screen?
>>I've a feelling not but.....
>>
>>UPDATE: This looks cool. Someone reverse engineered a routine from Expression Blend:
>>
http://silverlight.net/forums/t/20352.aspx>>
>>TIA,
>>Viv
>
>Neat peice of code. May need it for my side project. (vector icon manager/editor)
Hi,
I've been using it for a while and it certainly seems to give the right results (so far!)
>
>But shouldn't ActualWidth give you the width after the transform?
I don't think so - but I don't know why I say that and I can't test right now. But I will.
But, for example, there's no 'ActualRotation' property but the code take care of that as well :-}
Best,
Viv