Calendar for WinForms | ComponentOne
C1.Win.Input.Base Namespace / C1DropDownEditorBase Class / Formatting Event

In This Topic
    Formatting Event (C1DropDownEditorBase)
    In This Topic
    Formatting the value programmatically.
    Syntax
    'Declaration
     
    
    Public Event Formatting As EventHandler(Of FormatEventArgs)
    public event EventHandler<FormatEventArgs> Formatting
    Event Data

    The event handler receives an argument of type FormatEventArgs containing data related to this event. The following FormatEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets the string value. The out parameter for specifying error description if Succeeded is set to False.  
    Gets the FormatInfo object that fired the event. (Inherited from C1.Win.Input.Formating.FormatErrorEventArgs)
    Gets or sets the formatting result (assigned in the event code in Formatting). Default: True  
    Gets the value that indicating formatting target (ForEdit or ForDisplay). (Inherited from C1.Win.Input.Formating.FormatErrorEventArgs)
    Gets or sets the string value. The out parameter for the resulting string (in Formatting), or the in parameter for the formatted string (in Formatted).  
    Gets the source value for formatting. (Inherited from C1.Win.Input.Formating.FormatErrorEventArgs)
    See Also