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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.