# C1.Win.Ribbon.RibbonStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_RibbonStyle" data-uid="C1.Win.Ribbon.RibbonStyle" class="text-break">RibbonStyle Class
</h1>
  <div class="markdown level0 summary"><p>A customizable set of appearance settings.</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"><span class="xref">RibbonStyle</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></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_RibbonStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RibbonStyle : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RibbonStyle
    Implements IDisposable</code></pre>
  </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_RibbonStyle__ctor" data-uid="C1.Win.Ribbon.RibbonStyle.#ctor">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.-ctor.html#C1_Win_Ribbon_RibbonStyle__ctor">RibbonStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Ribbon.RibbonStyle.html">RibbonStyle</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</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_RibbonStyle_Version" data-uid="C1.Win.Ribbon.RibbonStyle.Version">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.Version.html">Version</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the version number of the style schema.</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_RibbonStyle_ApplyMonochromeIconDarkTheme" data-uid="C1.Win.Ribbon.RibbonStyle.ApplyMonochromeIconDarkTheme">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.ApplyMonochromeIconDarkTheme.html#C1_Win_Ribbon_RibbonStyle_ApplyMonochromeIconDarkTheme">ApplyMonochromeIconDarkTheme</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating that the dark theme applies a monochrome style to custom bitmap icons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_ApplyMonochromeIconForDarkTheme" data-uid="C1.Win.Ribbon.RibbonStyle.ApplyMonochromeIconForDarkTheme">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.ApplyMonochromeIconForDarkTheme.html#C1_Win_Ribbon_RibbonStyle_ApplyMonochromeIconForDarkTheme">ApplyMonochromeIconForDarkTheme</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating that the dark theme applies a monochrome style to custom bitmap icons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_BrushSet" data-uid="C1.Win.Ribbon.RibbonStyle.BrushSet">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.BrushSet.html#C1_Win_Ribbon_RibbonStyle_BrushSet">BrushSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the set of named brushes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_ColorSet" data-uid="C1.Win.Ribbon.RibbonStyle.ColorSet">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.ColorSet.html#C1_Win_Ribbon_RibbonStyle_ColorSet">ColorSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the set of named colors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_ConstSet" data-uid="C1.Win.Ribbon.RibbonStyle.ConstSet">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.ConstSet.html#C1_Win_Ribbon_RibbonStyle_ConstSet">ConstSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the set of named integer constants.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_FlagSet" data-uid="C1.Win.Ribbon.RibbonStyle.FlagSet">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.FlagSet.html#C1_Win_Ribbon_RibbonStyle_FlagSet">FlagSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the set of named boolean constants.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_FontSet" data-uid="C1.Win.Ribbon.RibbonStyle.FontSet">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.FontSet.html#C1_Win_Ribbon_RibbonStyle_FontSet">FontSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the set of named fonts.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_GlyphSet" data-uid="C1.Win.Ribbon.RibbonStyle.GlyphSet">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.GlyphSet.html#C1_Win_Ribbon_RibbonStyle_GlyphSet">GlyphSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the set of named glyphs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_IsDarkTheme" data-uid="C1.Win.Ribbon.RibbonStyle.IsDarkTheme">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.IsDarkTheme.html#C1_Win_Ribbon_RibbonStyle_IsDarkTheme">IsDarkTheme</a>
        </td>
        <td class="markdown level1 summary"><p>Defines whether <a class="xref" href="C1.Win.Ribbon.C1Ribbon.html">C1Ribbon</a> needs images for the dark theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_Lightness" data-uid="C1.Win.Ribbon.RibbonStyle.Lightness">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.Lightness.html#C1_Win_Ribbon_RibbonStyle_Lightness">Lightness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style lightness.</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_RibbonStyle_BeginUpdate" data-uid="C1.Win.Ribbon.RibbonStyle.BeginUpdate">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.BeginUpdate.html#C1_Win_Ribbon_RibbonStyle_BeginUpdate">BeginUpdate()</a>
        </td>
        <td class="markdown level1 summary"><p>Maintains performance while <a class="xref" href="C1.Win.Ribbon.RibbonStyle.html">RibbonStyle</a> is being changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_Dispose" data-uid="C1.Win.Ribbon.RibbonStyle.Dispose">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.Dispose.html#C1_Win_Ribbon_RibbonStyle_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_EndUpdate" data-uid="C1.Win.Ribbon.RibbonStyle.EndUpdate">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.EndUpdate.html#C1_Win_Ribbon_RibbonStyle_EndUpdate">EndUpdate()</a>
        </td>
        <td class="markdown level1 summary"><p>Resumes processing after it has been suspended by a call to <a class="xref" href="C1.Win.Ribbon.RibbonStyle.BeginUpdate.html#C1_Win_Ribbon_RibbonStyle_BeginUpdate">BeginUpdate()</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_Refresh_C1_Win_Ribbon_ThemeColor_C1_Win_Ribbon_ThemeLightness_System_Boolean_" data-uid="C1.Win.Ribbon.RibbonStyle.Refresh(C1.Win.Ribbon.ThemeColor,C1.Win.Ribbon.ThemeLightness,System.Boolean)">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.Refresh.html#C1_Win_Ribbon_RibbonStyle_Refresh_C1_Win_Ribbon_ThemeColor_C1_Win_Ribbon_ThemeLightness_System_Boolean_">Refresh(ThemeColor, ThemeLightness, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads a predefined Office 365 theme into the <a class="xref" href="C1.Win.Ribbon.RibbonStyle.html">RibbonStyle</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonStyle_Update_C1_Win_Ribbon_ThemeColor_C1_Win_Ribbon_ThemeLightness_" data-uid="C1.Win.Ribbon.RibbonStyle.Update(C1.Win.Ribbon.ThemeColor,C1.Win.Ribbon.ThemeLightness)">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.Update.html#C1_Win_Ribbon_RibbonStyle_Update_C1_Win_Ribbon_ThemeColor_C1_Win_Ribbon_ThemeLightness_">Update(ThemeColor, ThemeLightness)</a>
        </td>
        <td class="markdown level1 summary"><p>Switches this <a class="xref" href="C1.Win.Ribbon.RibbonStyle.html">RibbonStyle</a> to the specified Office 365 theme.</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_RibbonStyle_StyleChanged" data-uid="C1.Win.Ribbon.RibbonStyle.StyleChanged">
          <a class="xref" href="C1.Win.Ribbon.RibbonStyle.StyleChanged.html">StyleChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a <a class="xref" href="C1.Win.Ribbon.RibbonStyle.html">RibbonStyle</a> is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
