# GrapeCity.Spreadsheet.Slicers.ISlicer.Caption

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Slicers_ISlicer_Caption_" data-uid="GrapeCity.Spreadsheet.Slicers.ISlicer.Caption*">Caption Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Slicers_ISlicer_Caption_" data-uid="GrapeCity.Spreadsheet.Slicers.ISlicer.Caption*"></a>
<h4 id="GrapeCity_Spreadsheet_Slicers_ISlicer_Caption" data-uid="GrapeCity.Spreadsheet.Slicers.ISlicer.Caption">Caption</h4>
<div class="markdown level1 summary"><p>Gets or sets the caption of the specified slicer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">string Caption { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property Caption As String</code></pre>
</div>
<h5 class="propertyValue">Property Value</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.string">string</a></td>
      <td><p>The caption of the specified slicer.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_Slicers_ISlicer_Caption_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The value specified for the <a class="xref" href="GrapeCity.Spreadsheet.Slicers.ISlicer.Caption.html#GrapeCity_Spreadsheet_Slicers_ISlicer_Caption">Caption</a> property is displayed in the header of the slicer.
If the <a class="xref" href="GrapeCity.Spreadsheet.Slicers.ISlicer.Caption.html#GrapeCity_Spreadsheet_Slicers_ISlicer_Caption">Caption</a> property is not specified, Spread uses the caption of the underlying field.</p>
</div>
</div>
