Skip to main content

TreeListCellValidationEventArgs Class

Provides data for the TreeListView.ValidateCell event.

Namespace: DevExpress.Xpf.Grid.TreeList

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

#Declaration

public class TreeListCellValidationEventArgs :
    TreeListNodeValidationEventArgs,
    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. Its previously valid value is returned by the TreeListCellValidationEventArgs.CellValue property. To indicate that the new value is invalid, set the ValidationEventArgs.IsValid property to false.

To learn more, see Validating Nodes and Node Cells.

#Inheritance

Object
EventArgs
RoutedEventArgs
ValidationEventArgs
DevExpress.Xpf.Grid.DataValidationEventArgsBase
TreeListNodeValidationEventArgs
TreeListCellValidationEventArgs
See Also