# C1.Win.Ribbon.RibbonLabel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_RibbonLabel" data-uid="C1.Win.Ribbon.RibbonLabel" class="text-break">RibbonLabel Class
</h1>
  <div class="markdown level0 summary"><p>Label in a <a class="xref" href="C1.Win.Ribbon.C1Ribbon.html">C1Ribbon</a> or <a class="xref" href="C1.Win.Ribbon.C1StatusBar.html">C1StatusBar</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="C1.Win.Ribbon.RibbonItem.html">RibbonItem</a></div>
    <div class="level4"><a class="xref" href="C1.Win.Ribbon.RibbonIconItem.html">RibbonIconItem</a></div>
    <div class="level5"><span class="xref">RibbonLabel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><span class="xref">IUiaScrollItemProvider</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Ribbon.html">C1.Win.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Ribbon.10.dll</h6>
  <h5 id="C1_Win_Ribbon_RibbonLabel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RibbonLabel : RibbonIconItem, IComponent, IDisposable, IUiaScrollItemProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RibbonLabel
    Inherits RibbonIconItem
    Implements IComponent, IDisposable, IUiaScrollItemProvider</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_Win_Ribbon_RibbonLabel__ctor" data-uid="C1.Win.Ribbon.RibbonLabel.#ctor">
          <a class="xref" href="C1.Win.Ribbon.RibbonLabel.-ctor.html#C1_Win_Ribbon_RibbonLabel__ctor">RibbonLabel()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Ribbon.RibbonLabel.html">RibbonLabel</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonLabel__ctor_System_String_" data-uid="C1.Win.Ribbon.RibbonLabel.#ctor(System.String)">
          <a class="xref" href="C1.Win.Ribbon.RibbonLabel.-ctor.html#C1_Win_Ribbon_RibbonLabel__ctor_System_String_">RibbonLabel(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Ribbon.RibbonLabel.html">RibbonLabel</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonLabel__ctor_System_String_System_Drawing_Image_" data-uid="C1.Win.Ribbon.RibbonLabel.#ctor(System.String,System.Drawing.Image)">
          <a class="xref" href="C1.Win.Ribbon.RibbonLabel.-ctor.html#C1_Win_Ribbon_RibbonLabel__ctor_System_String_System_Drawing_Image_">RibbonLabel(string, Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Ribbon.RibbonLabel.html">RibbonLabel</a>.</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_Win_Ribbon_RibbonLabel_MaxTextWidth" data-uid="C1.Win.Ribbon.RibbonLabel.MaxTextWidth">
          <a class="xref" href="C1.Win.Ribbon.RibbonLabel.MaxTextWidth.html#C1_Win_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="C1_Win_Ribbon_RibbonLabel_MinTextWidth" data-uid="C1.Win.Ribbon.RibbonLabel.MinTextWidth">
          <a class="xref" href="C1.Win.Ribbon.RibbonLabel.MinTextWidth.html#C1_Win_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="C1_Win_Ribbon_RibbonLabel_Text" data-uid="C1.Win.Ribbon.RibbonLabel.Text">
          <a class="xref" href="C1.Win.Ribbon.RibbonLabel.Text.html#C1_Win_Ribbon_RibbonLabel_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text associated with the <a class="xref" href="C1.Win.Ribbon.RibbonLabel.html">RibbonLabel</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
