Back to Devexpress

DXDefaultEventArgs Class

windowsforms-devexpress-dot-utils-dot-dragdrop-05144a75.md

latest2.6 KB
Original Source

DXDefaultEventArgs Class

Allows you to invoke or suppress actions the attached control performs on a particular drag-and-drop operation stage.

Namespace : DevExpress.Utils.DragDrop

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
public class DXDefaultEventArgs :
    EventArgs
vb
Public Class DXDefaultEventArgs
    Inherits EventArgs

Remarks

Controls that support the Drag-and-Drop Behavior have a default action for each stage of a drag-and-drop operation. For instance, when data elements are dragged over a control, the control calculates the insert indicator’s bounds. When data elements are dropped, the control moves or copies data elements. The following arguments allow you to invoke or suppress the default action:

  • The Handled property - gets or sets whether you handled the event. If the event is handled, the control does not perform the default action.

  • The Default() method - invokes the default action. If you call this method, the Handled property is automatically set to true.

Inheritance

Object EventArgs DXDefaultEventArgs DragLeaveEventArgs

DXDragEventArgs

DragEnterEventArgs

DragOverEventArgs

DragOverEventArgsBase

DragDropEventArgs

See Also

DXDefaultEventArgs Members

DragDropEvents

DevExpress.Utils.DragDrop Namespace