[]
Specifies the action is performed on the control value when an error occurs.
public enum ErrorAction
Name | Description |
---|---|
None | Control value remains as the user typed it. |
ResetValue | Control value is reset to the value control had before entering edit mode. |
SetValueOnError | Control value is set to ValueOnError. |
ThrowException | Control value is reset to the value control had before entering edit mode, and an exception is thrown. |