InertiaProcessor2D.Delta Event

.NET Framework (current version)
 

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

Namespace:   System.Windows.Input.Manipulations
Assembly:  System.Windows.Input.Manipulations (in System.Windows.Input.Manipulations.dll)

public event EventHandler<Manipulation2DDeltaEventArgs> Delta

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

#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

.NET Framework
Available since 4.0
Return to top
Show: