Share via


DragItemsStartingEventArgs.Cancel 屬性

定義

取得或設定值,這個值表示是否應該取消專案拖曳動作。

public:
 property bool Cancel { bool get(); void set(bool value); };
bool Cancel();

void Cancel(bool value);
public bool Cancel { get; set; }
var boolean = dragItemsStartingEventArgs.cancel;
dragItemsStartingEventArgs.cancel = boolean;
Public Property Cancel As Boolean

屬性值

Boolean

bool

True 是表示 取消專案拖曳動作;否則為 false

備註

在處理程式中將此屬性設定為 true ,以取消專案拖曳動作。

適用於