Share via


DraggingEventArgs Class

Definition

Contains event data for the Dragging event.

public ref class DraggingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DraggingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DraggingEventArgs
Public NotInheritable Class DraggingEventArgs
Inheritance
Object Platform::Object IInspectable DraggingEventArgs
Attributes

Remarks

Note

This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).

Properties

DraggingState

Gets the state of the Dragging event.

PointerDeviceType

Gets the device type of the input source.

Position

Gets the location of the mouse or pen/stylus contact.

Applies to