Export (0) Print
Expand All

CurrentChangingEventArgs.Cancel Property

Gets or sets a value that indicates whether to cancel the event.

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

public bool Cancel { get; set; }

Property Value

Type: System.Boolean
true if the event is to be canceled; otherwise, false. The default value is false.


If the value of IsCancelable is false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft