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

PropertyGridControl.InvalidCellException Event

Fires when a cell fails validation, or when it cannot be saved to a data source.

Namespace: DevExpress.Xpf.PropertyGrid

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

NuGet Package: DevExpress.Wpf.PropertyGrid

#Declaration

public event InvalidCellExceptionEventHandler InvalidCellException

#Event Data

The InvalidCellException event's data class is DevExpress.Xpf.PropertyGrid.InvalidCellExceptionEventArgs.

#Remarks

Cell validation is performed within the PropertyGridControl.ValidateCell event handler, when a cell is about to lose focus. The InvalidCellException event allows you to override the default error presentation. This event occurs after the PropertyGridControl.ValidateCell event (provided that the focused cell’s validation has failed).

See Also