CurrentChangingEventArgs.IsCancelable Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates whether the event is cancelable.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

public bool IsCancelable { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top