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

TreeListCellValidationEventArgs Class

Provides data for the TreeListView.ValidateCell event.

Namespace: DevExpress.Xpf.Grid.TreeList

Assembly: DevExpress.Xpf.Grid.v19.1.dll

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