Mode Property

ManipulationStartingEventArgs.Mode Property

.NET Framework (current version)
 

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
ArgumentException

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
Show:
© 2016 Microsoft