# GrapeCity.Documents.Excel.CellDecoration.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_CellDecoration__ctor_" data-uid="GrapeCity.Documents.Excel.CellDecoration.#ctor*">CellDecoration Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_CellDecoration__ctor_" data-uid="GrapeCity.Documents.Excel.CellDecoration.#ctor*"></a>
<h4 id="GrapeCity_Documents_Excel_CellDecoration__ctor_GrapeCity_Documents_Excel_ICornerFold_System_Collections_Generic_IReadOnlyList_GrapeCity_Documents_Excel_ICellDecorationIcon__" data-uid="GrapeCity.Documents.Excel.CellDecoration.#ctor(GrapeCity.Documents.Excel.ICornerFold,System.Collections.Generic.IReadOnlyList{GrapeCity.Documents.Excel.ICellDecorationIcon})">CellDecoration(ICornerFold, IReadOnlyList&lt;ICellDecorationIcon&gt;)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of the CellDecoration class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellDecoration(ICornerFold cornerFold, IReadOnlyList&lt;ICellDecorationIcon&gt; icons)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(cornerFold As ICornerFold, icons As IReadOnlyList(Of ICellDecorationIcon))</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="GrapeCity.Documents.Excel.ICornerFold.html">ICornerFold</a></td>
      <td><span class="parametername">cornerFold</span></td>
      <td><p>The corner fold.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.Documents.Excel.ICellDecorationIcon.html">ICellDecorationIcon</a>&gt;</td>
      <td><span class="parametername">icons</span></td>
      <td><p>The icons.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Excel_CellDecoration__ctor_" data-uid="GrapeCity.Documents.Excel.CellDecoration.#ctor*"></a>
<h4 id="GrapeCity_Documents_Excel_CellDecoration__ctor_GrapeCity_Documents_Excel_ICornerFold_" data-uid="GrapeCity.Documents.Excel.CellDecoration.#ctor(GrapeCity.Documents.Excel.ICornerFold)">CellDecoration(ICornerFold)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of the CellDecoration class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellDecoration(ICornerFold cornerFold)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(cornerFold As ICornerFold)</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="GrapeCity.Documents.Excel.ICornerFold.html">ICornerFold</a></td>
      <td><span class="parametername">cornerFold</span></td>
      <td><p>The corner fold.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Excel_CellDecoration__ctor_" data-uid="GrapeCity.Documents.Excel.CellDecoration.#ctor*"></a>
<h4 id="GrapeCity_Documents_Excel_CellDecoration__ctor_System_Collections_Generic_IReadOnlyList_GrapeCity_Documents_Excel_ICellDecorationIcon__" data-uid="GrapeCity.Documents.Excel.CellDecoration.#ctor(System.Collections.Generic.IReadOnlyList{GrapeCity.Documents.Excel.ICellDecorationIcon})">CellDecoration(IReadOnlyList&lt;ICellDecorationIcon&gt;)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of the CellDecoration class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellDecoration(IReadOnlyList&lt;ICellDecorationIcon&gt; icons)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(icons As IReadOnlyList(Of ICellDecorationIcon))</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.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.Documents.Excel.ICellDecorationIcon.html">ICellDecorationIcon</a>&gt;</td>
      <td><span class="parametername">icons</span></td>
      <td><p>The icons.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
