# C1.Win.Ribbon.StyleBrushSet

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_StyleBrushSet" data-uid="C1.Win.Ribbon.StyleBrushSet" class="text-break">StyleBrushSet Class
</h1>
  <div class="markdown level0 summary"><p>Represents the set of known brushes that can be referenced from style elements.</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">StyleBrushSet</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_StyleBrushSet_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StyleBrushSet</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StyleBrushSet</code></pre>
  </div>
  <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_StyleBrushSet_GetColor_C1_Win_Ribbon_StyleBrush_" data-uid="C1.Win.Ribbon.StyleBrushSet.GetColor(C1.Win.Ribbon.StyleBrush)">
          <a class="xref" href="C1.Win.Ribbon.StyleBrushSet.GetColor.html#C1_Win_Ribbon_StyleBrushSet_GetColor_C1_Win_Ribbon_StyleBrush_">GetColor(StyleBrush)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a Color assigned to this <a class="xref" href="C1.Win.Ribbon.StyleBrush.html">StyleBrush</a> or Color.Empty if the Color was not set.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_StyleBrushSet_SetBrush_C1_Win_Ribbon_StyleBrush_System_Drawing_Brush_" data-uid="C1.Win.Ribbon.StyleBrushSet.SetBrush(C1.Win.Ribbon.StyleBrush,System.Drawing.Brush)">
          <a class="xref" href="C1.Win.Ribbon.StyleBrushSet.SetBrush.html#C1_Win_Ribbon_StyleBrushSet_SetBrush_C1_Win_Ribbon_StyleBrush_System_Drawing_Brush_">SetBrush(StyleBrush, Brush)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets a Brush associated with the specified <a class="xref" href="C1.Win.Ribbon.StyleBrush.html">StyleBrush</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_StyleBrushSet_SetColor_C1_Win_Ribbon_StyleBrush_System_Drawing_Color_" data-uid="C1.Win.Ribbon.StyleBrushSet.SetColor(C1.Win.Ribbon.StyleBrush,System.Drawing.Color)">
          <a class="xref" href="C1.Win.Ribbon.StyleBrushSet.SetColor.html#C1_Win_Ribbon_StyleBrushSet_SetColor_C1_Win_Ribbon_StyleBrush_System_Drawing_Color_">SetColor(StyleBrush, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets a Color associated with the specified <a class="xref" href="C1.Win.Ribbon.StyleBrush.html">StyleBrush</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
