Skip to main content

TreeListCellValidationEventArgs Class

Provides data for the TreeListView.ValidateCell event.

Namespace: DevExpress.Xpf.Grid.TreeList

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public class TreeListCellValidationEventArgs :
    GridCellValidationEventArgs,
    IDataCellEventArgs

Remarks

The TreeListView.ValidateCell event occurs before the focused cell’s modified value is posted to a data source, allowing manual validation of its new value.

The focused cell’s new value is returned by the ValidationEventArgs.Value property. To indicate that the new value is invalid, set the ValidationEventArgs.IsValid property to false.

To learn more, see Cell Validation.

See Also