QueryContinueDragEventArgs.Action 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定相關拖放操作的當前狀態。
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 。