Xceed DataGrid for WPF v7.2 Documentation
Cancel Property (CancelRoutedEventArgs)


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
'Declaration
 
Public Property Cancel As Boolean
'Usage
 
Dim instance As CancelRoutedEventArgs
Dim value As Boolean
 
instance.Cancel = value
 
value = instance.Cancel
public bool Cancel {get; set;}

Property 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

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CancelRoutedEventArgs Class
CancelRoutedEventArgs Members