語言

CollectionView.OKToChangeCurrent 方法

定義

回傳一個值,指示視圖是否能改變哪個項目是 CurrentItem。

protected:
 bool OKToChangeCurrent();
protected bool OKToChangeCurrent();
member this.OKToChangeCurrent : unit -> bool
Protected Function OKToChangeCurrent () As Boolean

傳回

false如果有聽者取消了變更;否則,。 true

適用於