Skip to main content
A newer version of this page is available. .

GridRowValidationEventArgs.CancellationToken Property

Gets an object that notifies that the Update operation should be canceled.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.Core.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public CancellationToken CancellationToken { get; protected set; }

Property Value

Type Description
CancellationToken

An object that notifies that the Update operation should be canceled.

Remarks

Use the GridRowValidationEventArgs.UpdateRowResult property to specify a task that asynchronously posts changes to an underlying data source (database).

To allow users to cancel the Update operation, set the GridRowValidationEventArgs.UseCancellationToken property to true and use the CancellationToken in a cancel function.

See Also