Class
DragDropQueryEventArgs

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 DragDropQueryEventArgs : DragDropEventArgs

Inheritance: objectRadRoutedEventArgsDragDropEventArgsDragDropQueryEventArgs

Inherited Members DragDropEventArgs.GetElement<T>(Point)DragDropEventArgs.Options

Constructors

DragDropQueryEventArgs(RoutedEvent, object, DragDropOptions)

Initializes a new instance of the DragDropQueryEventArgs class.

Declaration

cs-api-definition
public DragDropQueryEventArgs(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.

Fields

EmptyArgs

Provides empty DragDropQueryEventArgs.

Declaration

cs-api-definition
public static readonly DragDropQueryEventArgs EmptyArgs

Field Value

DragDropQueryEventArgs

Properties

QueryResult

Gets or sets the result of the query. This result allows or denies actions in the drag drop process.

Declaration

cs-api-definition
public bool? QueryResult { get; set; }

Property Value

bool?

Methods

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.

Overrides DragDropEventArgs.InvokeEventHandler(Delegate, object)