A newer version of this page is available. Switch to the current version.

DragEventArgsBase.Effects Property

Gets or sets the target drag-and-drop operation.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.2.dll


public DragDropEffects Effects { get; set; }

Property Value

Type Description

A member of the DragDropEffects enumeration specifying the target drag-and-drop operation.


You can use DragDropEffects to display different mouse pointers for drag-and-drop operations.

The code sample below shows how to display an arrow symbol for moving nodes to another node’s child collection:

      <dxg:TreeListView AllowDragDrop="True" DragRecordOver="OnDragRecordOver" />
void OnDragRecordOver(object sender, DragRecordOverEventArgs e) {
   if (e.DropPosition == DropPosition.Inside) {
      e.Effects = DragDropEffects.Link;
      e.Handled = true;
See Also