| Visual Basic (Declaration) | |
|---|---|
Public Property Cancel As Boolean | |
| C# | |
|---|---|
public bool Cancel {get; set;} | |
Return Value
true to cancel the routed event; false otherwise.
Setting Cancel to true does not indicate that the event has been handled. In order to handle the event Handled must also be set to true.
Supported Frameworks: Microsoft .NET Framework version 3.5