Class
DragDropEventArgs

The event args used for various drag and drop related events.

Definition

Namespace:Telerik.Windows.Controls.DragDrop

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class DragDropEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsDragDropEventArgs

Derived Classes: DragDropQueryEventArgs

Constructors

DragDropEventArgs(RoutedEvent, object, DragDropOptions)

Initializes a new instance of the DragDropEventArgs class.

Declaration

cs-api-definition
public DragDropEventArgs(RoutedEvent routedEvent, object source, DragDropOptions options)

Parameters

routedEvent

RoutedEvent

The routed event identifier for this instance of the RoutedEventArgs class.

source

object

An alternate source that will be reported when the event is handled. This pre-populates the Source property.

options

DragDropOptions

The drag event options.

Properties

Options

Gets the drag drop information about this drag drop event.

Declaration

cs-api-definition
public DragDropOptions Options { get; }

Property Value

DragDropOptions

Methods

GetElement<T>(Point)

Returns the top-most element of the given type at the DragPoint coordinates.

Declaration

cs-api-definition
public T GetElement<T>(Point dragPoint) where T : FrameworkElement

Parameters

dragPoint

Point

Returns

T

InvokeEventHandler(Delegate, object)

When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation.

Declaration

cs-api-definition
protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget)

Parameters

genericHandler

Delegate

The generic handler / delegate implementation to be invoked.

genericTarget

object

The target on which the provided handler should be invoked.