# GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel" class="text-break">RibbonLabel Class
</h1>
  <div class="markdown level0 summary"><p>Label in a <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonBar.html">RibbonBar</a> control.</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="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonItem.html">RibbonItem</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonIconItem.html">RibbonIconItem</a></div>
    <div class="level3"><span class="xref">RibbonLabel</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.html">GrapeCity.Spreadsheet.WinForms.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.WinForms.Ribbon.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class RibbonLabel : RibbonIconItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class RibbonLabel
    Inherits RibbonIconItem</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="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel__ctor" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.#ctor">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.-ctor.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel__ctor">RibbonLabel()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.html">RibbonLabel</a> class.</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="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel_MaxTextWidth" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.MaxTextWidth">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.MaxTextWidth.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel_MaxTextWidth">MaxTextWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum width of label text, in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel_MinTextWidth" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.MinTextWidth">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.MinTextWidth.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel_MinTextWidth">MinTextWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum width of label text, in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel_Text" data-uid="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.Text">
          <a class="xref" href="GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.Text.html#GrapeCity_Spreadsheet_WinForms_Ribbon_RibbonLabel_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text associated with the <span class="xref">GrapeCity.Spreadsheet.WinForms.Ribbon.RibbonLabel.C1RibbonLabel</span>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
