[]
Settings affecting error handling.
[TypeConverter(typeof(GenericExpandableConverter))]
public class ErrorInfo
| Name | Description |
|---|---|
| BeepOnError | Gets or sets a value indicating whether the control beeps signaling an error. |
| C1SuperErrorProvider | Gets or sets an C1SuperErrorProvider object used to indicate error state of the control. |
| CanLoseFocus | Gets or sets a value that determines whether or not the control is allowed to lose focus after the error. Works only if the ErrorAction is set to SetValueOnError or ResetValue. |
| DataType | Type of the Value property. |
| ErrorAction | Gets or sets enumerated value that determines what action is performed on the control value when an error occurs. |
| ErrorMessage | Gets or sets error message shown in the standard message box and/or in the exception. |
| ErrorMessageCaption | Gets or sets the text to display in the title bar of the error message box. |
| ErrorProvider | Gets or sets an ErrorProvider object used to indicate error state of the control. |
| InnerException | Run-time-only read-only property returning the original exception object that caused the error. |
| ShowErrorMessage | Gets or sets a value indicating whether the standard error message will be shown. |
| ValueOnError | Gets or sets a value used to reset the control if ErrorAction = SetValueOnError. |
| ValueOnErrorIsDbNull | Gets or sets a boolean property used to set ValueOnError to DbNull (only necessary at design time). |
| Name | Description |
|---|---|
| Reset() | Resets whole ErrorInfo property in base control |
| ShouldSerializeValueOnError() |