All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GridRowValidationEventArgs.CancellationToken Property

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

Namespace: DevExpress.Xpf.Grid

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

Declaration

public CancellationToken CancellationToken { get; protected set; }
Public Property CancellationToken As CancellationToken

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