'Declaration Public Event UpdatingItemFont As System.EventHandler(Of UpdatingItemFontEventArgs)
public event System.EventHandler<UpdatingItemFontEventArgs> UpdatingItemFont
Event Data
The event handler receives an argument of type UpdatingItemFontEventArgs containing data related to this event. The following UpdatingItemFontEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Font | Gets the System.Drawing.Font used to display text in the ribbon item. |
FontPadding | Gets or sets whether text bounding rectangle should include padding. |
IsHostedInComboBox | Gets a value indicating whether the RibbonItem is hosted in a RibbonComboBox. |
IsHostedInGroup | Gets a value indicating whether the RibbonItem is hosted in a RibbonGroup. |
IsHostedInMenu | Gets a value indicating whether the RibbonItem is hosted in a RibbonMenu. |
IsHostedInToolBar | Gets a value indicating whether the RibbonItem is hosted in RibbonToolBar, RibbonBottomToolBar, RibbonTopToolBar or RibbonConfigToolBar. |
NewFont | Gets or sets the System.Drawing.Font used to display text in the ribbon item. |
RibbonItem | Gets the ribbon item which the font is being updated. |
Remarks
This event supports: RibbonButton, RibbonCheckBox, RibbonGallery, RibbonMenu, RibbonSplitButton, RibbonToggleButton.
See Also