Class
DragInitializeEventArgs

Contains arguments for the event.

Definition

Namespace:Telerik.Windows.DragDrop

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public sealed class DragInitializeEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsDragInitializeEventArgs

Properties

AllowedEffects

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

Declaration

cs-api-definition
public DragDropEffects AllowedEffects { get; set; }

Property Value

DragDropEffects

Cancel

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

Declaration

cs-api-definition
public bool Cancel { get; set; }

Property Value

bool

Data

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).

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Justification = "Introducing breaking change. Need to mark it for deprecation first.")]
public object Data { get; set; }

Property Value

object

DragVisual

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

Declaration

cs-api-definition
public object DragVisual { get; set; }

Property Value

object

DragVisualOffset

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

Declaration

cs-api-definition
public Point DragVisualOffset { get; set; }

Property Value

Point

RelativeStartPoint

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

Declaration

cs-api-definition
public Point RelativeStartPoint { get; }

Property Value

Point

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.