[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonFontComboBox

RibbonFontComboBox Class

Represents a font picker element in a C1Ribbon control.

Implements
ISupportUiaContainer
IUiaExpandCollapseProvider
IUiaValueProvider
Namespace: C1.Win.Ribbon
Assembly: C1.Win.Ribbon.4.8.dll
Syntax
public class RibbonFontComboBox : RibbonComboBox, IComponent, IDisposable, ISupportUiaContainer, IUiaExpandCollapseProvider, IUiaValueProvider
Remarks

RibbonFontComboBox is a combo box that let the user pick a font from a list of all fonts installed in the system.

Constructors

Name Description
RibbonFontComboBox()

Creates a new instance of RibbonFontComboBox.

Properties

Name Description
Items

Gets an object representing the collection of the items contained in this RibbonFontComboBox.

PreviewFonts

Gets or sets whether font names are drawn using the same fonts in the drop-down list.

Methods

Name Description
OnDropDown(EventArgs)

Raises the DropDown event.

OnShouldDrawFont(ShouldDrawFontEventArgs)

Raises the ShouldDrawFont event.

ShouldSerializeItems()

This property is for internal use only.

Events

Name Description
ShouldDrawFont

Allows to hide some fonts in the drop-down list or display their names using the default font.