# C1.C1Preview.InputActionCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_InputActionCollection" data-uid="C1.C1Preview.InputActionCollection" class="text-break">InputActionCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.C1Preview.InputAction.html">InputAction</a> objects.</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.collections.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">InputActionCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_InputActionCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InputActionCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InputActionCollection
    Inherits CollectionBase
    Implements IList, ICollection, IEnumerable</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_C1Preview_InputActionCollection__ctor" data-uid="C1.C1Preview.InputActionCollection.#ctor">
          <a class="xref" href="C1.C1Preview.InputActionCollection.-ctor.html#C1_C1Preview_InputActionCollection__ctor">InputActionCollection()</a>
        </td>
        <td class="markdown level1 summary"></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_C1Preview_InputActionCollection_Item_System_Int32_" data-uid="C1.C1Preview.InputActionCollection.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.InputActionCollection.Item.html#C1_C1Preview_InputActionCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element at the specified index.</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_C1Preview_InputActionCollection_Add_C1_C1Preview_InputAction_" data-uid="C1.C1Preview.InputActionCollection.Add(C1.C1Preview.InputAction)">
          <a class="xref" href="C1.C1Preview.InputActionCollection.Add.html#C1_C1Preview_InputActionCollection_Add_C1_C1Preview_InputAction_">Add(InputAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an element to the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_InputActionCollection_Add_C1_C1Preview_UserActionEnum_C1_C1Preview_ActionHandlerBase_" data-uid="C1.C1Preview.InputActionCollection.Add(C1.C1Preview.UserActionEnum,C1.C1Preview.ActionHandlerBase)">
          <a class="xref" href="C1.C1Preview.InputActionCollection.Add.html#C1_C1Preview_InputActionCollection_Add_C1_C1Preview_UserActionEnum_C1_C1Preview_ActionHandlerBase_">Add(UserActionEnum, ActionHandlerBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.C1Preview.InputAction.html">InputAction</a> instance based on the specified user action and handler,
and adds it to the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_InputActionCollection_IndexOf_C1_C1Preview_InputAction_" data-uid="C1.C1Preview.InputActionCollection.IndexOf(C1.C1Preview.InputAction)">
          <a class="xref" href="C1.C1Preview.InputActionCollection.IndexOf.html#C1_C1Preview_InputActionCollection_IndexOf_C1_C1Preview_InputAction_">IndexOf(InputAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the specified element in the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_InputActionCollection_Insert_System_Int32_C1_C1Preview_InputAction_" data-uid="C1.C1Preview.InputActionCollection.Insert(System.Int32,C1.C1Preview.InputAction)">
          <a class="xref" href="C1.C1Preview.InputActionCollection.Insert.html#C1_C1Preview_InputActionCollection_Insert_System_Int32_C1_C1Preview_InputAction_">Insert(int, InputAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an element into the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_InputActionCollection_Remove_C1_C1Preview_InputAction_" data-uid="C1.C1Preview.InputActionCollection.Remove(C1.C1Preview.InputAction)">
          <a class="xref" href="C1.C1Preview.InputActionCollection.Remove.html#C1_C1Preview_InputActionCollection_Remove_C1_C1Preview_InputAction_">Remove(InputAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an element from the current collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
