FlexChart | ComponentOne
C1.Win.Ribbon.4.8 Assembly / C1.Win.Ribbon Namespace / RibbonFontComboBox Class / ShouldDrawFont Event

In This Topic
    ShouldDrawFont Event (RibbonFontComboBox)
    In This Topic
    Allows to hide some fonts in the drop-down list or display their names using the default font.
    Syntax
    'Declaration
     
    Public Event ShouldDrawFont As System.EventHandler(Of ShouldDrawFontEventArgs)
    public event System.EventHandler<ShouldDrawFontEventArgs> ShouldDrawFont
    Event Data

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

    PropertyDescription
    Gets or sets whether the font name should always be drawn using the default font.  
    Gets the FontFamily associated with this font.  
    Gets the name of the font.  
    Gets or sets whether the font should appear in the drop-down list of the RibbonFontComboBox.  
    See Also