ComponentOne CalendarView for WinForms
C1.Win.C1Input Namespace / C1Label Class / Formatting Event

In This Topic
    Formatting Event (C1Label)
    In This Topic
    Formatting the value programmatically.
    Syntax
    'Declaration
     
    
    Public Event Formatting As FormatEventHandler
    public event FormatEventHandler 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
    The out parameter for specifying error description if Succeeded is set to False.  
    FormatInfo object that fired the event.  
    Formatting result (assigned in the event code in Formatting). Default: True  
    Formatting target (ForEdit or ForDisplay).  
    The out parameter for the resulting string (in Formatting), or the in parameter for the formatted string (in Formatted).  
    Source value for formatting.  
    See Also