# C1.C1Preview.InputAction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_InputAction" data-uid="C1.C1Preview.InputAction" class="text-break">InputAction Class
</h1>
  <div class="markdown level0 summary"><p>Describes the combination of a user action on a control
produced by a <a class="xref" href="C1.C1Preview.RenderInputBase.html">RenderInputBase</a>-derived object,
and the associated handling.</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"><span class="xref">InputAction</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.10.dll</h6>
  <h5 id="C1_C1Preview_InputAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public class InputAction</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public Class InputAction</code></pre>
  </div>
  <h5 id="C1_C1Preview_InputAction_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Objects of this type, describing handling of different user actions, are stored
in the <a class="xref" href="C1.C1Preview.RenderInputBase.InputActions.html#C1_C1Preview_RenderInputBase_InputActions">InputActions</a> collection of a <a class="xref" href="C1.C1Preview.RenderInputBase.html">RenderInputBase</a> object,
and define how various user actions on the control produced by that object are handled.</p>
<p>
For details on the use of action handlers, see <a class="xref" href="C1.C1Preview.ActionHandlerBase.html">ActionHandlerBase</a>.
</p>
</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_InputAction__ctor" data-uid="C1.C1Preview.InputAction.#ctor">
          <a class="xref" href="C1.C1Preview.InputAction.-ctor.html#C1_C1Preview_InputAction__ctor">InputAction()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.InputAction.html">InputAction</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_InputAction__ctor_C1_C1Preview_UserActionEnum_C1_C1Preview_ActionHandlerBase_" data-uid="C1.C1Preview.InputAction.#ctor(C1.C1Preview.UserActionEnum,C1.C1Preview.ActionHandlerBase)">
          <a class="xref" href="C1.C1Preview.InputAction.-ctor.html#C1_C1Preview_InputAction__ctor_C1_C1Preview_UserActionEnum_C1_C1Preview_ActionHandlerBase_">InputAction(UserActionEnum, ActionHandlerBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.InputAction.html">InputAction</a> class,
assigning the <a class="xref" href="C1.C1Preview.InputAction.UserAction.html#C1_C1Preview_InputAction_UserAction">UserAction</a> and <a class="xref" href="C1.C1Preview.InputAction.ActionHandler.html#C1_C1Preview_InputAction_ActionHandler">ActionHandler</a> properties.</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_C1Preview_InputAction_ActionHandler" data-uid="C1.C1Preview.InputAction.ActionHandler">
          <a class="xref" href="C1.C1Preview.InputAction.ActionHandler.html#C1_C1Preview_InputAction_ActionHandler">ActionHandler</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the action handler associated with the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_InputAction_UserAction" data-uid="C1.C1Preview.InputAction.UserAction">
          <a class="xref" href="C1.C1Preview.InputAction.UserAction.html#C1_C1Preview_InputAction_UserAction">UserAction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the kind of user action (such as click or focus enter) associated with the current object.</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_InputAction_AssignFrom_C1_C1Preview_InputAction_" data-uid="C1.C1Preview.InputAction.AssignFrom(C1.C1Preview.InputAction)">
          <a class="xref" href="C1.C1Preview.InputAction.AssignFrom.html#C1_C1Preview_InputAction_AssignFrom_C1_C1Preview_InputAction_">AssignFrom(InputAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.InputAction.html">InputAction</a> to the current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
