語言

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事件是同一類型。 通常你可以同時使用同一個事件處理程式來處理這兩個事件。

適用於