# C1.WPF.Grid.GridPaginator.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Grid_GridPaginator__ctor_" data-uid="C1.WPF.Grid.GridPaginator.#ctor*">GridPaginator Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Grid_GridPaginator__ctor_" data-uid="C1.WPF.Grid.GridPaginator.#ctor*"></a>
<h4 id="C1_WPF_Grid_GridPaginator__ctor_C1_WPF_Grid_FlexGrid_System_Windows_Size_System_Collections_Generic_List_System_Windows_FrameworkElement__C1_WPF_Grid_GridPrintParameters_" data-uid="C1.WPF.Grid.GridPaginator.#ctor(C1.WPF.Grid.FlexGrid,System.Windows.Size,System.Collections.Generic.List{System.Windows.FrameworkElement},C1.WPF.Grid.GridPrintParameters)">GridPaginator(FlexGrid, Size, List&lt;FrameworkElement&gt;, GridPrintParameters)</h4>
<div class="markdown level1 summary"><p>Instantiate a new instance of the <a class="xref" href="C1.WPF.Grid.GridPaginator.html">GridPaginator</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GridPaginator(FlexGrid flex, Size pageSize, List&lt;FrameworkElement&gt; pages, GridPrintParameters printParameters)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(flex As FlexGrid, pageSize As Size, pages As List(Of FrameworkElement), printParameters As GridPrintParameters)</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="C1.WPF.Grid.FlexGrid.html">FlexGrid</a></td>
      <td><span class="parametername">flex</span></td>
      <td><p>The C1FlexGrid instance.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Size</span></td>
      <td><span class="parametername">pageSize</span></td>
      <td><p>The size of the page.</p>
</td>
    </tr>
    <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.windows.frameworkelement">FrameworkElement</a>&gt;</td>
      <td><span class="parametername">pages</span></td>
      <td><p>The List of the printed pages.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Grid.GridPrintParameters.html">GridPrintParameters</a></td>
      <td><span class="parametername">printParameters</span></td>
      <td><p>The <a class="xref" href="C1.WPF.Grid.GridPaginator.PrintParameters.html#C1_WPF_Grid_GridPaginator_PrintParameters">PrintParameters</a> used for printing.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
