ManipulationProcessor2D.Delta 事件

定义

在操作原点发生了更改后或者在发生了转换、缩放或旋转后发生。

public:
 event EventHandler<System::Windows::Input::Manipulations::Manipulation2DDeltaEventArgs ^> ^ Delta;
public event EventHandler<System.Windows.Input.Manipulations.Manipulation2DDeltaEventArgs> Delta;
member this.Delta : EventHandler<System.Windows.Input.Manipulations.Manipulation2DDeltaEventArgs> 
Public Custom Event Delta As EventHandler(Of Manipulation2DDeltaEventArgs) 
Public Event Delta As EventHandler(Of Manipulation2DDeltaEventArgs) 

事件类型

示例

#region OnManipulationOrInertiaDelta
private void OnManipulationOrInertiaDelta(object sender, Manipulation2DDeltaEventArgs e)
{
    // The values obtained from e.Delta can be used to move, resize, or
    // change the orientation of the element that is being manipulated.
}
#endregion

注解

事件 ManipulationProcessor2D.DeltaInertiaProcessor2D.Delta 事件是同一类型。 通常,可以对这两个事件使用相同的事件处理程序。

适用于