Share via


TreeViewDragItemsStartingEventArgs.Cancel 屬性

定義

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

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

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

void Cancel(bool value);
public bool Cancel { get; set; }
Public Property Cancel As Boolean

屬性值

Boolean

bool

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

備註

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

適用於