QueryContinueDragEventArgs(Int32, Boolean, DragAction) 构造函数

定义

初始化 QueryContinueDragEventArgs 类的新实例。

public:
 QueryContinueDragEventArgs(int keyState, bool escapePressed, System::Windows::Forms::DragAction action);
public QueryContinueDragEventArgs (int keyState, bool escapePressed, System.Windows.Forms.DragAction action);
new System.Windows.Forms.QueryContinueDragEventArgs : int * bool * System.Windows.Forms.DragAction -> System.Windows.Forms.QueryContinueDragEventArgs
Public Sub New (keyState As Integer, escapePressed As Boolean, action As DragAction)

参数

keyState
Int32

Shift、Ctrl 和 Alt 键的当前状态。

escapePressed
Boolean

如果按了 Esc 键,则为 true;反之,则为 false

action
DragAction

一个 DragAction 值。

适用于

另请参阅