Szerkesztés

Megosztás a következőn keresztül:


CurrentChangingEventArgs.IsCancelable Property

Definition

Gets a value that indicates whether the event is cancelable.

public:
 property bool IsCancelable { bool get(); };
public bool IsCancelable { get; }
member this.IsCancelable : bool
Public ReadOnly Property IsCancelable As Boolean

Property Value

true if the event is cancelable, otherwise, false. The default value is true.

Remarks

By default, the event is cancelable when the cause is a move-current operation (such as the MoveCurrentTo and similar methods) and uncancelable when the cause is an irreversible change operation on the collection.

Applies to