Cancel Property
See Also 
Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > CancelRoutedEventArgs Class : Cancel Property

Gets or sets a value that allows the routed event to be canceled.

Syntax

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.

Requirements

Supported Frameworks: Microsoft .NET Framework version 3.5

See Also