Redigera

Dela via


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