ManipulationStartingEventArgs.Mode 属性

定义

获取或设置可能的操作的类型。Gets or sets which types of manipulations are possible.

public:
 property System::Windows::Input::ManipulationModes Mode { System::Windows::Input::ManipulationModes get(); void set(System::Windows::Input::ManipulationModes value); };
public System.Windows.Input.ManipulationModes Mode { get; set; }
member this.Mode : System.Windows.Input.ManipulationModes with get, set
Public Property Mode As ManipulationModes

属性值

枚举值之一。One of the enumeration values. 默认值为 AllThe default is All.

异常

该属性设置为一个或多个 ManipulationModes 枚举值之外的值。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. 有关响应操作的应用程序的示例, 请参阅演练:正在创建您的第一个 Touch 应用程序。For an example of an application that responds to manipulations, see Walkthrough: Creating Your First Touch Application.

适用于