CurrentChangingEventArgs.IsCancelable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.