Back to Devexpress

PropertyGridControl.InvalidCellException Event

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertygridcontrol-745c7326.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public event InvalidCellExceptionEventHandler InvalidCellException
vb
Public Event InvalidCellException As InvalidCellExceptionEventHandler

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

PropertyGridControl Class

PropertyGridControl Members

DevExpress.Xpf.PropertyGrid Namespace