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

屬性值

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. 如需回應操作的應用程式範例,請參閱 逐步解說:建立您的第一個觸控應用程式For an example of an application that responds to manipulations, see Walkthrough: Creating Your First Touch Application.

適用於