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

See Also