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

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