ManipulationProcessor2D.Delta Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.