Skip to main content

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)

public bool Cancel { get; set; }

Return Value

Boolean
true if the event should be canceled; otherwise, false. The default is false.

Exceptions

InvalidOperationExceptionThe IsCancelable property value is false.

See Also

Reference

DataGridCurrentChangingEventArgs Class
Avalonia.Collections Namespace