[]
Provides data for a FormatError event.
public class FormatErrorEventArgs : EventArgs
Name | 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. |