Cancel Property
Gets or sets a value that indicates whether the CurrentItem change should be canceled.
Definition
Namespace: Avalonia.Collections
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
public bool Cancel { get; set; }
Public Property Cancel As Boolean
Get
Set
member Cancel : bool with get, set
Return Value
Boolean
true if the event should be canceled; otherwise, false. The default is false.
Exceptions
InvalidOperationException | The IsCancelable property value is false. |
See Also
Reference
DataGridCurrentChangingEventArgs Class
Avalonia.Collections Namespace