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

Contains arguments for the event.

Definition

Namespace:Telerik.Windows.DragDrop

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public sealed class DragInitializeEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsDragInitializeEventArgs

Properties

AllowedEffects

DragDropEffects

Gets or sets the AllowedEffect that will be used for drag-and-drop operation.

C#
public DragDropEffects AllowedEffects { get; set; }

Gets or sets whether drag-and-drop operation should start.

C#
public bool Cancel { get; set; }

Gets or sets the data that will be used for drag-and-drop operation.(Setting the data will override everything that has already been set).

C#
public object Data { get; set; }

Gets or sets the element to show while drag-and-drop operation is in progress. This element should not be in the visual tree.

C#
public object DragVisual { get; set; }

Gets or sets the mouse offset relative to the drag source.

C#
public Point DragVisualOffset { get; set; }

Gets or sets the cursor offset relative to the drag source.

C#
public Point RelativeStartPoint { get; }

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.