# C1.Win.Ribbon.RibbonFontComboBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_RibbonFontComboBox" data-uid="C1.Win.Ribbon.RibbonFontComboBox" class="text-break">RibbonFontComboBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a font picker element in a <a class="xref" href="C1.Win.Ribbon.C1Ribbon.html">C1Ribbon</a> control.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="C1.Win.Ribbon.RibbonItem.html">RibbonItem</a></div>
    <div class="level4"><a class="xref" href="C1.Win.Ribbon.RibbonIconItem.html">RibbonIconItem</a></div>
    <div class="level5"><a class="xref" href="C1.Win.Ribbon.RibbonDropDownBase.html">RibbonDropDownBase</a></div>
    <div class="level6"><a class="xref" href="C1.Win.Ribbon.RibbonComboBox.html">RibbonComboBox</a></div>
    <div class="level7"><span class="xref">RibbonFontComboBox</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><span class="xref">ISupportUiaContainer</span></div>
    <div><span class="xref">IUiaExpandCollapseProvider</span></div>
    <div><span class="xref">IUiaValueProvider</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Ribbon.html">C1.Win.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Ribbon.10.dll</h6>
  <h5 id="C1_Win_Ribbon_RibbonFontComboBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RibbonFontComboBox : RibbonComboBox, IComponent, IDisposable, ISupportUiaContainer, IUiaExpandCollapseProvider, IUiaValueProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RibbonFontComboBox
    Inherits RibbonComboBox
    Implements IComponent, IDisposable, ISupportUiaContainer, IUiaExpandCollapseProvider, IUiaValueProvider</code></pre>
  </div>
  <h5 id="C1_Win_Ribbon_RibbonFontComboBox_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p><b>RibbonFontComboBox</b> is a combo box that let the user pick a font
from a list of all fonts installed in the system.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Ribbon_RibbonFontComboBox__ctor" data-uid="C1.Win.Ribbon.RibbonFontComboBox.#ctor">
          <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.-ctor.html#C1_Win_Ribbon_RibbonFontComboBox__ctor">RibbonFontComboBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.html">RibbonFontComboBox</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Ribbon_RibbonFontComboBox_Items" data-uid="C1.Win.Ribbon.RibbonFontComboBox.Items">
          <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.Items.html#C1_Win_Ribbon_RibbonFontComboBox_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an object representing the collection of the items contained in this <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.html">RibbonFontComboBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonFontComboBox_PreviewFonts" data-uid="C1.Win.Ribbon.RibbonFontComboBox.PreviewFonts">
          <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.PreviewFonts.html#C1_Win_Ribbon_RibbonFontComboBox_PreviewFonts">PreviewFonts</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether font names are drawn using the same fonts in the drop-down list.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Ribbon_RibbonFontComboBox_OnDropDown_System_EventArgs_" data-uid="C1.Win.Ribbon.RibbonFontComboBox.OnDropDown(System.EventArgs)">
          <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.OnDropDown.html#C1_Win_Ribbon_RibbonFontComboBox_OnDropDown_System_EventArgs_">OnDropDown(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Ribbon.RibbonDropDownBase.DropDown.html">DropDown</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonFontComboBox_OnShouldDrawFont_C1_Win_Ribbon_ShouldDrawFontEventArgs_" data-uid="C1.Win.Ribbon.RibbonFontComboBox.OnShouldDrawFont(C1.Win.Ribbon.ShouldDrawFontEventArgs)">
          <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.OnShouldDrawFont.html#C1_Win_Ribbon_RibbonFontComboBox_OnShouldDrawFont_C1_Win_Ribbon_ShouldDrawFontEventArgs_">OnShouldDrawFont(ShouldDrawFontEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.ShouldDrawFont.html">ShouldDrawFont</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonFontComboBox_ShouldSerializeItems" data-uid="C1.Win.Ribbon.RibbonFontComboBox.ShouldSerializeItems">
          <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.ShouldSerializeItems.html#C1_Win_Ribbon_RibbonFontComboBox_ShouldSerializeItems">ShouldSerializeItems()</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Ribbon_RibbonFontComboBox_ShouldDrawFont" data-uid="C1.Win.Ribbon.RibbonFontComboBox.ShouldDrawFont">
          <a class="xref" href="C1.Win.Ribbon.RibbonFontComboBox.ShouldDrawFont.html">ShouldDrawFont</a>
        </td>
        <td class="markdown level1 summary"><p>Allows to hide some fonts in the drop-down list or display their names using the default font.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
