ManipulationDelta::Rotation Property

.NET Framework (current version)
 

Gets or sets the rotation of the manipulation in degrees.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property double Rotation {
	double get();
	private: void set(double value);
}

Property Value

Type: System::Double

The rotation of the manipulation in degrees.

The Rotation property reports the way a manipulation is interpreted as rotating around an axis. The axis is usually the point between the two points of contact that initiated the manipulation.

The following example shows an event handler for the ManipulationDelta event. The example applies the Translation, Scale, and Rotation properties to move, resize, and rotate a Rectangle. This example is part of a larger example in Walkthrough: Creating Your First Touch Application.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 4.0
Return to top
Show: