# C1.Web.Mvc.CollectionViewNavigator

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_CollectionViewNavigator" data-uid="C1.Web.Mvc.CollectionViewNavigator" class="text-break">CollectionViewNavigator Class
</h1>
  <div class="markdown level0 summary"><p>The CollectionViewNavigator control for navigating records in CollectionView</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"><a class="xref" href="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><span class="xref">CollectionViewNavigator</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_CollectionViewNavigator_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CollectionViewNavigator : Control, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CollectionViewNavigator
    Inherits Control
    Implements IHtmlContent, ITemplate</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_CollectionViewNavigator__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.CollectionViewNavigator.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.CollectionViewNavigator.-ctor.html#C1_Web_Mvc_CollectionViewNavigator__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">CollectionViewNavigator(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.CollectionViewNavigator.html">CollectionViewNavigator</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_CollectionViewNavigator_ByPage" data-uid="C1.Web.Mvc.CollectionViewNavigator.ByPage">
          <a class="xref" href="C1.Web.Mvc.CollectionViewNavigator.ByPage.html#C1_Web_Mvc_CollectionViewNavigator_ByPage">ByPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether should navigate items or pages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_CollectionViewNavigator_HeaderFormat" data-uid="C1.Web.Mvc.CollectionViewNavigator.HeaderFormat">
          <a class="xref" href="C1.Web.Mvc.CollectionViewNavigator.HeaderFormat.html#C1_Web_Mvc_CollectionViewNavigator_HeaderFormat">HeaderFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the format string used to display the current total item/page values in the control header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_CollectionViewNavigator_ItemsSourceId" data-uid="C1.Web.Mvc.CollectionViewNavigator.ItemsSourceId">
          <a class="xref" href="C1.Web.Mvc.CollectionViewNavigator.ItemsSourceId.html#C1_Web_Mvc_CollectionViewNavigator_ItemsSourceId">ItemsSourceId</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ItemsSourceId specify which CollectionViewService will be used for this control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_CollectionViewNavigator_RepeatButtons" data-uid="C1.Web.Mvc.CollectionViewNavigator.RepeatButtons">
          <a class="xref" href="C1.Web.Mvc.CollectionViewNavigator.RepeatButtons.html#C1_Web_Mvc_CollectionViewNavigator_RepeatButtons">RepeatButtons</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the next/previous buttons should act as repeat buttons, firing repeatedly as long as the button remains pressed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
