# C1.Framework.ExpandButtonElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_ExpandButtonElement" data-uid="C1.Framework.ExpandButtonElement" class="text-break">ExpandButtonElement Class
</h1>
  <div class="markdown level0 summary"><p>Represents a button with icon for <a class="xref" href="C1.Framework.TreeRow.html">TreeRow</a>.</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.Framework.Element.html">Element</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.BasePanel.html">BasePanel</a></div>
    <div class="level3"><a class="xref" href="C1.Framework.StackPanel.html">StackPanel</a></div>
    <div class="level4"><a class="xref" href="C1.Framework.ButtonElement.html">ButtonElement</a></div>
    <div class="level5"><a class="xref" href="C1.Framework.CheckButtonElement.html">CheckButtonElement</a></div>
    <div class="level6"><span class="xref">ExpandButtonElement</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
    <div><a class="xref" href="C1.Framework.IToolTipElement.html">IToolTipElement</a></div>
    <div><a class="xref" href="C1.Win.Accessibility.Items.IUiaButton.html">IUiaButton</a></div>
    <div><a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaInvokeProvider.html">IUiaInvokeProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_ExpandButtonElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ExpandButtonElement : CheckButtonElement, ISupportUia, IToolTipElement, IUiaButton, IUiaInvokeProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ExpandButtonElement
    Inherits CheckButtonElement
    Implements ISupportUia, IToolTipElement, IUiaButton, IUiaInvokeProvider</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_Framework_ExpandButtonElement__ctor" data-uid="C1.Framework.ExpandButtonElement.#ctor">
          <a class="xref" href="C1.Framework.ExpandButtonElement.-ctor.html#C1_Framework_ExpandButtonElement__ctor">ExpandButtonElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.ExpandButtonElement.html">ExpandButtonElement</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="C1_Framework_ExpandButtonElement_CollapsedIcon" data-uid="C1.Framework.ExpandButtonElement.CollapsedIcon">
          <a class="xref" href="C1.Framework.ExpandButtonElement.CollapsedIcon.html#C1_Framework_ExpandButtonElement_CollapsedIcon">CollapsedIcon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Framework.C1Icon.html">C1Icon</a> for the collapsed state of the row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ExpandButtonElement_ExpandedIcon" data-uid="C1.Framework.ExpandButtonElement.ExpandedIcon">
          <a class="xref" href="C1.Framework.ExpandButtonElement.ExpandedIcon.html#C1_Framework_ExpandButtonElement_ExpandedIcon">ExpandedIcon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Framework.C1Icon.html">C1Icon</a> for the expanded state of the row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ExpandButtonElement_IsEnabled" data-uid="C1.Framework.ExpandButtonElement.IsEnabled">
          <a class="xref" href="C1.Framework.ExpandButtonElement.IsEnabled.html#C1_Framework_ExpandButtonElement_IsEnabled">IsEnabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this element and all its ancestors are enabled.</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_Framework_ExpandButtonElement_FinalizeUI" data-uid="C1.Framework.ExpandButtonElement.FinalizeUI">
          <a class="xref" href="C1.Framework.ExpandButtonElement.FinalizeUI.html#C1_Framework_ExpandButtonElement_FinalizeUI">FinalizeUI()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes the user interface. This method is called when element is removed from UI.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_ExpandButtonElement_OnCheckedChanged" data-uid="C1.Framework.ExpandButtonElement.OnCheckedChanged">
          <a class="xref" href="C1.Framework.ExpandButtonElement.OnCheckedChanged.html#C1_Framework_ExpandButtonElement_OnCheckedChanged">OnCheckedChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when check box state is changed.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.Win.Accessibility.Items.ProviderExt.InvokeExt.html#C1_Win_Accessibility_Items_ProviderExt_InvokeExt_C1_Win_Accessibility_Items_BaseInterfaces_IUiaInvokeProvider_C1_Win_Accessibility_UiaItem_">ProviderExt.InvokeExt(IUiaInvokeProvider, UiaItem)</a>
  </div>

</div>
