편집

다음을 통해 공유


CollectionView.OKToChangeCurrent Method

Definition

Returns a value that indicates whether the view can change which item is the CurrentItem.

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

Returns

false if a listener cancels the change; otherwise, true.

Applies to