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

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.v18.2.dll

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).

To learn more, see Row Validation.

See Also