'Declaration Public Event FormatError As C1.Win.C1Input.FormatErrorEventHandler
public event C1.Win.C1Input.FormatErrorEventHandler FormatError
Event Data
The event handler receives an argument of type C1.Win.C1Input.FormatErrorEventArgs containing data related to this event. The following FormatErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ErrorMessage | Error description shown as the tooltip in the ErrorProvider icon, if ErrorInfo.ErrorProvider property is set. |
FormatInfo | FormatInfo object that fired the event. |
Target | Formatting target (ForEdit or ForDisplay). |
Text | The text to show in the control. Your code in FormatError event can set this argument to a text you want to show in the control in case of a formatting error. |
Value | Source value for formatting. |
See Also