# C1.Win.FlexViewer.LabelActionElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexViewer_LabelActionElement" data-uid="C1.Win.FlexViewer.LabelActionElement" class="text-break">LabelActionElement Class
</h1>
  <div class="markdown level0 summary"><p>Represents a toggle RibbonButton element.</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.Win.FlexViewer.BaseActionElement.html">BaseActionElement</a></div>
    <div class="level2"><span class="xref">LabelActionElement</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexViewer.html">C1.Win.FlexViewer</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexViewer.4.8.dll</h6>
  <h5 id="C1_Win_FlexViewer_LabelActionElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LabelActionElement : BaseActionElement</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class LabelActionElement
    Inherits BaseActionElement</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_FlexViewer_LabelActionElement__ctor_C1_Win_FlexViewer_C1FlexViewer_C1_Win_Ribbon_RibbonLabel_C1_Win_FlexViewer_FlexViewerAction_System_Boolean_System_Boolean_" data-uid="C1.Win.FlexViewer.LabelActionElement.#ctor(C1.Win.FlexViewer.C1FlexViewer,C1.Win.Ribbon.RibbonLabel,C1.Win.FlexViewer.FlexViewerAction,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Win.FlexViewer.LabelActionElement.-ctor.html#C1_Win_FlexViewer_LabelActionElement__ctor_C1_Win_FlexViewer_C1FlexViewer_C1_Win_Ribbon_RibbonLabel_C1_Win_FlexViewer_FlexViewerAction_System_Boolean_System_Boolean_">LabelActionElement(C1FlexViewer, RibbonLabel, FlexViewerAction, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.FlexViewer.LabelActionElement.html">LabelActionElement</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_FlexViewer_LabelActionElement_Text" data-uid="C1.Win.FlexViewer.LabelActionElement.Text">
          <a class="xref" href="C1.Win.FlexViewer.LabelActionElement.Text.html#C1_Win_FlexViewer_LabelActionElement_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the label format text.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexViewer_LabelActionElement_ResetText" data-uid="C1.Win.FlexViewer.LabelActionElement.ResetText">
          <a class="xref" href="C1.Win.FlexViewer.LabelActionElement.ResetText.html#C1_Win_FlexViewer_LabelActionElement_ResetText">ResetText()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the <a class="xref" href="C1.Win.FlexViewer.LabelActionElement.Text.html#C1_Win_FlexViewer_LabelActionElement_Text">Text</a> property to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexViewer_LabelActionElement_ShouldSerializeText" data-uid="C1.Win.FlexViewer.LabelActionElement.ShouldSerializeText">
          <a class="xref" href="C1.Win.FlexViewer.LabelActionElement.ShouldSerializeText.html#C1_Win_FlexViewer_LabelActionElement_ShouldSerializeText">ShouldSerializeText()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.Win.FlexViewer.LabelActionElement.Text.html#C1_Win_FlexViewer_LabelActionElement_Text">Text</a> property should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
