ManipulationInertiaStartingEventArgs.SetInertiaParameter(InertiaParameters2D) 方法

定义

指定惯性发生期间的操作行为。Specifies the behavior of a manipulation during inertia.

public:
 void SetInertiaParameter(System::Windows::Input::Manipulations::InertiaParameters2D ^ parameter);
[System.ComponentModel.Browsable(false)]
public void SetInertiaParameter (System.Windows.Input.Manipulations.InertiaParameters2D parameter);
member this.SetInertiaParameter : System.Windows.Input.Manipulations.InertiaParameters2D -> unit
Public Sub SetInertiaParameter (parameter As InertiaParameters2D)

参数

parameter
InertiaParameters2D

用于指定某操作在惯性发生期间的行为的对象。The object that specifies the behavior of a manipulation during inertia.

属性

例外

parameternullparameter is null.

注解

通常不需要调用此方法。You typically do not need to call this method. 改为ManipulationInertiaStartingEventArgs使用上的属性。Use the properties on the ManipulationInertiaStartingEventArgs instead.

适用于