共用方式為


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 事件會將屬性設 ActionCancel 按下 ESC 鍵時,若放開左鍵、中鍵或右鍵則設定 ActionDrop

適用於