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

定义

初始化 QueryContinueDragEventArgs 类的新实例。Initializes a new instance of the QueryContinueDragEventArgs class.

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 键的当前状态。The current state of the SHIFT, CTRL, and ALT keys.

escapePressed
Boolean

如果按了 Esc 键,则为 true;反之,则为 falsetrue if the ESC key was pressed; otherwise, false.

action
DragAction

一个 DragAction 值。A DragAction value.

适用于

另请参阅