[]
Settings affecting error handling.
[TypeConverter(typeof(GenericExpandableConverter))]
public class ErrorInfo
Name | Description |
---|---|
BeepOnError | If True, the control beeps signaling an error. Default: False. |
C1SuperErrorProvider | Gets or sets an C1SuperErrorProvider object used to indicate error state of the control. |
CanLoseFocus | 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 | Enumerated value that determines what action is performed on the control value when an error occurs. |
ErrorMessage | Error message shown in the standard message box and/or in the exception. |
ErrorMessageCaption | 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 | If True (default), the standard error message is shown. |
ValueOnError | Value used to reset the control if ErrorAction = SetValueOnError. |
ValueOnErrorIsDbNull | Boolean property used to set ValueOnError to DbNull (only necessary at design time). |
Name | Description |
---|---|
Reset() | Resets whole ErrorInfo property in base control |
ShouldSerializeValueOnError() | This method is for internal use only. |