# C1.Web.Mvc.Olap.Slicer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Olap_Slicer" data-uid="C1.Web.Mvc.Olap.Slicer" class="text-break">Slicer Class
</h1>
  <div class="markdown level0 summary"><p>Provides a user interface for interactively transforming regular data tables into Olap pivot tables.</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.AspNetCore.Mvc/C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="../C1.AspNetCore.Mvc/C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><span class="xref">Slicer</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.AspNetCore.Mvc/C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Olap.html">C1.Web.Mvc.Olap</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.Olap.dll</h6>
  <h5 id="C1_Web_Mvc_Olap_Slicer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Slicer : Control, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Slicer
    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_Olap_Slicer__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.Olap.Slicer.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.Olap.Slicer.-ctor.html#C1_Web_Mvc_Olap_Slicer__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">Slicer(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Olap.Slicer.html">Slicer</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_Olap_Slicer_Field" data-uid="C1.Web.Mvc.Olap.Slicer.Field">
          <a class="xref" href="C1.Web.Mvc.Olap.Slicer.Field.html#C1_Web_Mvc_Olap_Slicer_Field">Field</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the @see:PivotField being filtered by this @see:Slicer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Slicer_Header" data-uid="C1.Web.Mvc.Olap.Slicer.Header">
          <a class="xref" href="C1.Web.Mvc.Olap.Slicer.Header.html#C1_Web_Mvc_Olap_Slicer_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the header string shown at the top of the @see:Slicer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Slicer_MultiSelect" data-uid="C1.Web.Mvc.Olap.Slicer.MultiSelect">
          <a class="xref" href="C1.Web.Mvc.Olap.Slicer.MultiSelect.html#C1_Web_Mvc_Olap_Slicer_MultiSelect">MultiSelect</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether users should be allowed to select multiple values from the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Slicer_PivotEngineId" data-uid="C1.Web.Mvc.Olap.Slicer.PivotEngineId">
          <a class="xref" href="C1.Web.Mvc.Olap.Slicer.PivotEngineId.html#C1_Web_Mvc_Olap_Slicer_PivotEngineId">PivotEngineId</a>
        </td>
        <td class="markdown level1 summary"><p>The Id of PivotEngine</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Slicer_ShowCheckboxes" data-uid="C1.Web.Mvc.Olap.Slicer.ShowCheckboxes">
          <a class="xref" href="C1.Web.Mvc.Olap.Slicer.ShowCheckboxes.html#C1_Web_Mvc_Olap_Slicer_ShowCheckboxes">ShowCheckboxes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the control displays checkboxes next to each item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Slicer_ShowHeader" data-uid="C1.Web.Mvc.Olap.Slicer.ShowHeader">
          <a class="xref" href="C1.Web.Mvc.Olap.Slicer.ShowHeader.html#C1_Web_Mvc_Olap_Slicer_ShowHeader">ShowHeader</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the control displays the header area with the header string and multi-select/clear buttons.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
