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 事件的類型相同。 一般而言,您可以針對這兩個事件使用相同的事件處理常式。

適用於