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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา