DragDropHelper.GetDragDropCompletedEffects(DataObject) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This method does not support dragging multiple items. Consider using "public static IEnumerable<WorkflowViewElement> GetDragDropMovedViewElements(DataObject data)" instead.
回傳拖放操作的結果,其行為由指定的 DataObject決定。
public:
static System::Windows::DragDropEffects GetDragDropCompletedEffects(System::Windows::DataObject ^ data);
public static System.Windows.DragDropEffects GetDragDropCompletedEffects(System.Windows.DataObject data);
[System.Obsolete("This method does not support dragging multiple items. Consider using "public static IEnumerable<WorkflowViewElement> GetDragDropMovedViewElements(DataObject data)" instead.")]
public static System.Windows.DragDropEffects GetDragDropCompletedEffects(System.Windows.DataObject data);
static member GetDragDropCompletedEffects : System.Windows.DataObject -> System.Windows.DragDropEffects
[<System.Obsolete("This method does not support dragging multiple items. Consider using "public static IEnumerable<WorkflowViewElement> GetDragDropMovedViewElements(DataObject data)" instead.")>]
static member GetDragDropCompletedEffects : System.Windows.DataObject -> System.Windows.DragDropEffects
Public Shared Function GetDragDropCompletedEffects (data As DataObject) As DragDropEffects
參數
- data
- DataObject
一個包含拖放操作影響資料的物件。
傳回
一個列舉的過程。
- 屬性