Quantcast
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

#741 – Using Touch Manipulation Events to Translate an Element

You can use the touch manipulation events to translate an element, that is, to move it around on the screen. To start with, you set the IsManipulationEnabled property of the element to true.  This...

View Article


Image may be NSFW.
Clik here to view.

#742 – Using Touch Manipulation Events to Rotate an Element

In addition to using the touch manipulation events to handle translation of an element, we can use the same mechanisms to allow a user to rotate an element using touch. We can do both translation and...

View Article


Image may be NSFW.
Clik here to view.

#743 – Using Touch Manipulation Events to Scale an Element

In the previous post, we used a ManipulationDelta object in the ManipulationDelta event handler to both translate and rotate a user interface element.  The user’s touch gestures for translation...

View Article

Image may be NSFW.
Clik here to view.

#744 – Keeping an Element within Window During Touch Manipulation

You can use the ManipulationDelta event handler to translate a user interface element in response to the user touching and dragging it.  In the previous code, there was nothing preventing the user from...

View Article

Image may be NSFW.
Clik here to view.

#752 – Tracking Total Scale when Scaling by Touch Manipulation

When you use touch manipulation events to scale an element, you typically read the Scale property of the ManipulationDelta object passed in to the ManipulationDelta event handler.   This property...

View Article


Image may be NSFW.
Clik here to view.

#753 – Scale vs. Expansion in ManipulationDelta Events

When handling a ManipulationDelta event during touch manipulation, you often care about the ManipulationDelta.Scale property, which indicates the updated scale of an element, relative to its previous...

View Article
Browsing latest articles
Browse All 6 View Live