# C1.Win.Chart.Palettes.ExtendedPalette.GetBrushes

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Chart_Palettes_ExtendedPalette_GetBrushes_" data-uid="C1.Win.Chart.Palettes.ExtendedPalette.GetBrushes*">GetBrushes Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Chart_Palettes_ExtendedPalette_GetBrushes_" data-uid="C1.Win.Chart.Palettes.ExtendedPalette.GetBrushes*"></a>
<h4 id="C1_Win_Chart_Palettes_ExtendedPalette_GetBrushes_System_Collections_Generic_Dictionary_System_String_System_Collections_Generic_IList_System_Int32___System_Collections_Generic_Dictionary_System_String_System_Collections_Generic_IList_System_Drawing_Brush___System_String_" data-uid="C1.Win.Chart.Palettes.ExtendedPalette.GetBrushes(System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.IList{System.Int32}},System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.IList{System.Drawing.Brush}},System.String)">GetBrushes(Dictionary&lt;string, IList&lt;int&gt;&gt;, Dictionary&lt;string, IList&lt;Brush&gt;&gt;, string)</h4>
<div class="markdown level1 summary"><p>Creates the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a> of brushes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected static IList&lt;Brush&gt; GetBrushes(Dictionary&lt;string, IList&lt;int&gt;&gt; clrs, Dictionary&lt;string, IList&lt;Brush&gt;&gt; brushes, string key)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Shared Function GetBrushes(clrs As Dictionary(Of String, IList(Of Integer)), brushes As Dictionary(Of String, IList(Of Brush)), key As String) As IList(Of Brush)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&gt;&gt;</td>
      <td><span class="parametername">clrs</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary&lt;TKey, TValue&gt;</a> of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.knowncolor">KnownColor</a> enumeration.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.brush">Brush</a>&gt;&gt;</td>
      <td><span class="parametername">brushes</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary&lt;TKey, TValue&gt;</a> of the brushes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>The key of the value to set.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.brush">Brush</a>&gt;</td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a> of created brushes.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
