Themes for WinForms | ComponentOne
C1.Win.C1Themes.Extended.4.8 Assembly / C1.Win.C1Themes Namespace / C1ThemePicker Class / FormatError Event

In This Topic
    FormatError Event
    In This Topic
    Syntax
    '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.

    PropertyDescription
    Error description shown as the tooltip in the ErrorProvider icon, if ErrorInfo.ErrorProvider property is set.  
    FormatInfo object that fired the event.  
    Formatting target (ForEdit or ForDisplay).  
    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.  
    Source value for formatting.  
    See Also