New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Namespace:Telerik.Windows.Controls.DragDrop

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class DragDropQueryEventArgs : DragDropEventArgs

Inheritance: objectRadRoutedEventArgsDragDropEventArgsDragDropQueryEventArgs

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

Constructors

Initializes a new instance of the DragDropQueryEventArgs class.

C#
public DragDropQueryEventArgs(RoutedEvent routedEvent, object source, DragDropOptions options)
Parameters:routedEventRoutedEvent

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

sourceobject

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

optionsDragDropOptions

The drag event options.

Fields

Provides empty DragDropQueryEventArgs.

C#
public static readonly DragDropQueryEventArgs EmptyArgs

Properties

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

C#
public bool? QueryResult { get; set; }

Methods

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.

C#
protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget)
Parameters:genericHandlerDelegate

The generic handler / delegate implementation to be invoked.

genericTargetobject

The target on which the provided handler should be invoked.

Overrides: DragDropEventArgs.InvokeEventHandler(Delegate, object)