I have a TextBlock in my App. I want to handle pinch in & out on it to resize the font of that. when ManipulationDelta event fires I check Scale property, But most of times Scale is 1 even my fingers getting far from or getting nearer.
or it doesn't work as I expected.
can anybody show me an example how to find that pinch in or out happened?
Have you set the
ManipulationModeon theTextBlocktoScale?Also, I would suggest you put the manipulation on a
GridorBordercontainer withTransparentbackground to capture the manipulation events. In the case of aTextBlockyou could be running into hit testing issues that might cause the manipulation events not being fired.