แก้ไข

แชร์ผ่าน


ManipulationProcessor2D.Delta Event

Definition

Occurs when the manipulation origin has changed or when translation, scaling, or rotation have occurred.

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) 

Event Type

Examples

#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

Remarks

The ManipulationProcessor2D.Delta event and the InertiaProcessor2D.Delta event are the same type. Typically, you can use the same event handler for both events.

Applies to