In WPF, the ScaleTransform has an event called Changed which raises whenever the scale X/Y is changed. But this event does not exist in Silverlight.
Is there any way we can implement the same thing in Silverlight?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found a workaround for this. Actually, we can hook CompositionTarget.Rendering event when the storyboard begins. After the storyboard is completed, we need unhook the event too to save the performance. In the Rendering event, we can get the dynamical value of the ScaleTransform’s scale x/y and it solves my issue. Hope it helps if you have the same requirement.