ManipulationInertiaStartingEventArgs.ExpansionBehavior 属性

定义

获取或设置延伸惯性运动减慢的速率。Get or sets the rate of slowdown of expansion inertial movement.

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

属性值

延伸惯性运动减慢的速率The rate of slowdown of expansion inertial movement

注解

ExpansionBehavior使用属性来执行以下操作:Use the ExpansionBehavior property to do the following:

  • 通过设置InitialVelocity属性来指定惯性开始时的初始速度。Specify the initial velocity of the inertia when it begins by setting the InitialVelocity property.

  • 通过设置DesiredExpansion属性, 指定惯性结束时所需的操作扩展。Specify the desired expansion of the manipulation when inertia ends by setting the DesiredExpansion property.

  • 通过设置DesiredDeceleration属性, 指定所需的惯性减速度。Specify the desired deceleration of the inertia by setting the DesiredDeceleration property.

通常DesiredDeceleration, 您可以设置DesiredExpansion或, 但不能同时设置二者。You typically set either the DesiredExpansion or the DesiredDeceleration, but not both.

有关操作的详细信息, 请参阅输入概述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.

适用于