.NET Framework Class Library
UIElement..::.ManipulationMode Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that specifies how the UIElement object interprets manipulation events.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Syntax

Visual Basic (Declaration)
Public Property ManipulationMode As ManipulationModes
    Get
    Set
Visual Basic (Usage)
Dim instance As UIElement
Dim value As ManipulationModes

value = instance.ManipulationMode

instance.ManipulationMode = value
C#
public ManipulationModes ManipulationMode { get; set; }
Visual C++
public:
property ManipulationModes ManipulationMode {
    ManipulationModes get ();
    void set (ManipulationModes value);
}
JScript
function get ManipulationMode () : ManipulationModes
function set ManipulationMode (value : ManipulationModes)
F#
member ManipulationMode : ManipulationModes with get, set
XAML Attribute Usage
<object ManipulationMode="ManipulationModes" .../>

Property Value

Type: System.Windows.Input..::.ManipulationModes
One of the enumeration values that specifies how the UIElement object interprets manipulation events. The default is None.
Remarks

A manipulation is a real-time, physical action applied to an object to change its state. A manipulation is interpreted to scale, rotate, or translate the UIElement object. For example, a photo viewing application might allow users to move, zoom, resize, and rotate a photo.

By default, a UIElement does not receive the manipulation events, such as ManipulationStarted and ManipulationCompleted. To receive these events, set ManipulationMode to a value other than None.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 4
See Also

Reference

Page view tracker