ComponentOne Ribbon for WinForms
ShouldDrawFont Event

C1.Win.C1Ribbon.4 Assembly > C1.Win.C1Ribbon Namespace > RibbonFontComboBox Class : ShouldDrawFont Event
Allows to hide some fonts in the drop-down list or display their names using the default font.
Syntax
'Declaration
 
Public Event ShouldDrawFont As ShouldDrawFontEventHandler
public event ShouldDrawFontEventHandler 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