# C1.Win.Ribbon.RibbonListItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_RibbonListItem" data-uid="C1.Win.Ribbon.RibbonListItem" class="text-break">RibbonListItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents an Item in a recently used list.</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"><span class="xref">RibbonListItem</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">ISupportUiaContainer</span></div>
    <div><span class="xref">IUiaSelectionItemProvider</span></div>
    <div><span class="xref">IUiaButton</span></div>
    <div><span class="xref">IUiaInvokeProvider</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_RibbonListItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RibbonListItem : RibbonItem, IComponent, IDisposable, ISupportUiaContainer, IUiaSelectionItemProvider, IUiaButton, IUiaInvokeProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RibbonListItem
    Inherits RibbonItem
    Implements IComponent, IDisposable, ISupportUiaContainer, IUiaSelectionItemProvider, 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_Win_Ribbon_RibbonListItem__ctor" data-uid="C1.Win.Ribbon.RibbonListItem.#ctor">
          <a class="xref" href="C1.Win.Ribbon.RibbonListItem.-ctor.html#C1_Win_Ribbon_RibbonListItem__ctor">RibbonListItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an empty <a class="xref" href="C1.Win.Ribbon.RibbonListItem.html">RibbonListItem</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonListItem__ctor_C1_Win_Ribbon_RibbonItem_" data-uid="C1.Win.Ribbon.RibbonListItem.#ctor(C1.Win.Ribbon.RibbonItem)">
          <a class="xref" href="C1.Win.Ribbon.RibbonListItem.-ctor.html#C1_Win_Ribbon_RibbonListItem__ctor_C1_Win_Ribbon_RibbonItem_">RibbonListItem(RibbonItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Ribbon.RibbonListItem.html">RibbonListItem</a>
with one <a class="xref" href="C1.Win.Ribbon.RibbonItem.html">RibbonItem</a> in it.</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_RibbonListItem_AllowSelection" data-uid="C1.Win.Ribbon.RibbonListItem.AllowSelection">
          <a class="xref" href="C1.Win.Ribbon.RibbonListItem.AllowSelection.html#C1_Win_Ribbon_RibbonListItem_AllowSelection">AllowSelection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this item can be selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonListItem_Items" data-uid="C1.Win.Ribbon.RibbonListItem.Items">
          <a class="xref" href="C1.Win.Ribbon.RibbonListItem.Items.html#C1_Win_Ribbon_RibbonListItem_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of Ribbon items in this list item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonListItem_KeyTip" data-uid="C1.Win.Ribbon.RibbonListItem.KeyTip">
          <a class="xref" href="C1.Win.Ribbon.RibbonListItem.KeyTip.html#C1_Win_Ribbon_RibbonListItem_KeyTip">KeyTip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the KeyTip providing keyboard access to a RibbonListItem.</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_Ribbon_RibbonListItem_OnClick_System_EventArgs_" data-uid="C1.Win.Ribbon.RibbonListItem.OnClick(System.EventArgs)">
          <a class="xref" href="C1.Win.Ribbon.RibbonListItem.OnClick.html#C1_Win_Ribbon_RibbonListItem_OnClick_System_EventArgs_">OnClick(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Ribbon.RibbonListItem.Click.html">Click</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonListItem_ShouldSerializeItems" data-uid="C1.Win.Ribbon.RibbonListItem.ShouldSerializeItems">
          <a class="xref" href="C1.Win.Ribbon.RibbonListItem.ShouldSerializeItems.html#C1_Win_Ribbon_RibbonListItem_ShouldSerializeItems">ShouldSerializeItems()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_RibbonListItem_Click" data-uid="C1.Win.Ribbon.RibbonListItem.Click">
          <a class="xref" href="C1.Win.Ribbon.RibbonListItem.Click.html">Click</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the list item is clicked.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
