# C1.Win.Chart.Palettes.ExtendedPalette.CreateBrushes

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Chart_Palettes_ExtendedPalette_CreateBrushes_" data-uid="C1.Win.Chart.Palettes.ExtendedPalette.CreateBrushes*">CreateBrushes Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Chart_Palettes_ExtendedPalette_CreateBrushes_" data-uid="C1.Win.Chart.Palettes.ExtendedPalette.CreateBrushes*"></a>
<h4 id="C1_Win_Chart_Palettes_ExtendedPalette_CreateBrushes_System_Collections_Generic_IList_System_Int32__" data-uid="C1.Win.Chart.Palettes.ExtendedPalette.CreateBrushes(System.Collections.Generic.IList{System.Int32})">CreateBrushes(IList&lt;int&gt;)</h4>
<div class="markdown level1 summary"><p>Creates the brushes list for extended palettes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected static List&lt;Brush&gt; CreateBrushes(IList&lt;int&gt; clrs)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Shared Function CreateBrushes(clrs As IList(Of Integer)) As List(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.ilist-1">IList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&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.ilist-1">IList&lt;T&gt;</a> of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.knowncolor">KnownColor</a> enumeration.</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.list-1">List</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.list-1">List&lt;T&gt;</a> of created <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.solidbrush">SolidBrush</a> elements.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
