Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridRowValidationEventArgs.UseCancellationToken Property

Gets or sets whether the Update operation can be canceled.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public bool UseCancellationToken { get; set; }

#Property Value

Type Description
Boolean

true if the Update operation can be canceled; otherwise, false.

#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 UseCancellationToken property to true and use the GridRowValidationEventArgs.CancellationToken in a cancel function. The CancellationToken notifies that the Update operation should be canceled.

See Also