語言

QueryContinueDragEventArgs.Action 屬性

定義

取得或設定相關拖放操作的當前狀態。

public:
 property System::Windows::DragAction Action { System::Windows::DragAction get(); void set(System::Windows::DragAction value); };
public System.Windows.DragAction Action { get; set; }
member this.Action : System.Windows.DragAction with get, set
Public Property Action As DragAction

屬性值

列舉中的 DragAction 一個成員,表示相關拖放操作的當前狀態。

備註

預設情況下, QueryContinueDrag 事件會將屬性設 Action 為 Cancel 按下 ESC 鍵時,若放開左鍵、中鍵或右鍵則設定 Action 為 Drop 。

適用於