Name

DragAction

Synopsis

You should set a value selected from this enumeration in the QueryContinueDragEventArgs.Action property to specify whether the framework should Cancel, Continue, or Drop the drag operation in your QueryContinueDragEventHandler.


public enum DragAction {

   Continue = 0,

   Drop = 1,

   Cancel = 2

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) DragAction

Returned By

QueryContinueDragEventArgs.Action

Passed To

QueryContinueDragEventArgs.{Action, QueryContinueDragEventArgs()}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.