Mode Property

ManipulationStartingEventArgs.Mode Property

.NET Framework 4.6 and 4.5

Gets or sets which types of manipulations are possible.

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

public ManipulationModes Mode { get; set; }

Property Value

Type: System.Windows.Input.ManipulationModes

One of the enumeration values. The default is All.

Exception Condition

The property is set to a value other than one or more of the ManipulationModes enumerations value

For more information about manipulations, see the Input Overview. For an example of an application that responds to manipulations, see Walkthrough: Creating Your First Touch Application.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft