Share via


DragEventArgs Class

Definition

Provides data for the DragOver and DragLeave events.

public ref class DragEventArgs : EventArgs
public class DragEventArgs : EventArgs
type DragEventArgs = class
    inherit EventArgs
Public Class DragEventArgs
Inherits EventArgs
Inheritance
DragEventArgs

Constructors

DragEventArgs(DataPackage)

Initializes a new instance of the DragEventArgs class.

Properties

AcceptedOperation

Gets or sets a value that specifies which operations are allowed by the drop target.

Data

Gets the data package associated with the drag source.

PlatformArgs

Gets the platform-specific arguments associated with the DragEventArgs.

Methods

GetPosition(Element)

Gets the location of the drag relative to the specified element.

Applies to