DragEventArgs.Effects 屬性

定義

取得或設定目標拖放作業。Gets or sets the target drag-and-drop operation.

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

屬性值

DragDropEffects 列舉的成員,指定目標拖放作業。A member of the DragDropEffects enumeration specifying the target drag-and-drop operation.

備註

根據預設, 這個屬性中指定的效果會決定拖放作業目標的滑鼠游標。By default, the effect specified in this property determines the mouse cursor for the target of a drag-and-drop operation. 在卸載對應物件時, 將會發生之作業的意見反應提供給使用者時, 這會很有用。This is useful to provide feedback to the user on the operation that will occur when the corresponding object is dropped.

適用於

另請參閱