ManipulationInertiaStartingEventArgs.RotationBehavior 屬性

定義

取得或設定旋轉慣性移動變慢的速率。

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

屬性值

旋轉慣性移動變慢的速率。

備註

RotationBehavior使用 屬性執行下列動作:

  • 當慣性從設定 InitialVelocity 屬性開始時,請指定慣性的初始速度。

  • 藉由設定 DesiredRotation 屬性,指定慣性結束時操作所需的旋轉。

  • 藉由設定 DesiredDeceleration 屬性來指定慣性所需的減速。

您通常會設定 或 DesiredDeceleration,但不會同時設定DesiredRotation這兩者。

如需操作的詳細資訊,請參閱 輸入概觀。 如需回應操作的應用程式範例,請參閱逐步解說 :建立您的第一個觸控應用程式

適用於