Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The assigned value is not a valid ValidateReasons value. |
System.InvalidOperationException | The assigned value is not ValidateReasons.CellValidating, ValidateReasons.EndEdit, or ValidateReasons.CellValidating |ValidateReasons.EndEdit. |