Class DragDropEventArgs
The event args used for various drag and drop related events.
Namespace: Telerik.Windows.Controls.DragDrop
Assembly: Telerik.Windows.Controls.dll
Syntax
public class DragDropEventArgs : RadRoutedEventArgs
Constructors
DragDropEventArgs(RoutedEvent, Object, DragDropOptions)
Initializes a new instance of the DragDropEventArgs class.
Declaration
public DragDropEventArgs(RoutedEvent routedEvent, object source, DragDropOptions options)
Parameters
System.Windows.RoutedEvent
routedEvent
The routed event identifier for this instance of the RoutedEventArgs class. |
System.Object
source
An alternate source that will be reported when the event is handled. This pre-populates the Source property. |
DragDropOptions
options
The drag event options. |
Properties
Options
Gets the drag drop information about this drag drop event.
Declaration
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
public T GetElement<T>(Point dragPoint)
where T : FrameworkElement
Parameters
System.Windows.Point
dragPoint
|
Returns
T
|
Type Parameters
T
The type of the element to be returned. |
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
protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget)
Parameters
System.Delegate
genericHandler
The generic handler / delegate implementation to be invoked. |
System.Object
genericTarget
The target on which the provided handler should be invoked. |