# C1.Pdf.PdfPushButton.Action

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Pdf_PdfPushButton_Action" data-uid="C1.Pdf.PdfPushButton.Action" class="text-break">PdfPushButton.Action Class
</h1>
  <div class="markdown level0 summary"><p>Represents an action that can be taken when the state of a <a class="xref" href="C1.Pdf.PdfPushButton.html">PdfPushButton</a>
changes.</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">PdfPushButton.Action</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Pdf.html">C1.Pdf</a></h6>
  <h6><strong>Assembly</strong>: C1.Pdf.dll</h6>
  <h5 id="C1_Pdf_PdfPushButton_Action_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PdfPushButton.Action</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PdfPushButton.Action</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_Pdf_PdfPushButton_Action__ctor" data-uid="C1.Pdf.PdfPushButton.Action.#ctor">
          <a class="xref" href="C1.Pdf.PdfPushButton.Action.-ctor.html#C1_Pdf_PdfPushButton_Action__ctor">Action()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Pdf.PdfPushButton.Action.html">PdfPushButton.Action</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfPushButton_Action__ctor_C1_Pdf_ButtonAction_" data-uid="C1.Pdf.PdfPushButton.Action.#ctor(C1.Pdf.ButtonAction)">
          <a class="xref" href="C1.Pdf.PdfPushButton.Action.-ctor.html#C1_Pdf_PdfPushButton_Action__ctor_C1_Pdf_ButtonAction_">Action(ButtonAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Pdf.PdfPushButton.Action.html">PdfPushButton.Action</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfPushButton_Action__ctor_C1_Pdf_ButtonAction_System_String_" data-uid="C1.Pdf.PdfPushButton.Action.#ctor(C1.Pdf.ButtonAction,System.String)">
          <a class="xref" href="C1.Pdf.PdfPushButton.Action.-ctor.html#C1_Pdf_PdfPushButton_Action__ctor_C1_Pdf_ButtonAction_System_String_">Action(ButtonAction, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Pdf.PdfPushButton.Action.html">PdfPushButton.Action</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_Pdf_PdfPushButton_Action_ActionType" data-uid="C1.Pdf.PdfPushButton.Action.ActionType">
          <a class="xref" href="C1.Pdf.PdfPushButton.Action.ActionType.html#C1_Pdf_PdfPushButton_Action_ActionType">ActionType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of the current <a class="xref" href="C1.Pdf.PdfPushButton.Action.html">PdfPushButton.Action</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfPushButton_Action_Command" data-uid="C1.Pdf.PdfPushButton.Action.Command">
          <a class="xref" href="C1.Pdf.PdfPushButton.Action.Command.html#C1_Pdf_PdfPushButton_Action_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the command associated with the current <a class="xref" href="C1.Pdf.PdfPushButton.Action.html">PdfPushButton.Action</a>.
Command semantics depend on <a class="xref" href="C1.Pdf.PdfPushButton.Action.ActionType.html#C1_Pdf_PdfPushButton_Action_ActionType">ActionType</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfPushButton_Action_PageNo" data-uid="C1.Pdf.PdfPushButton.Action.PageNo">
          <a class="xref" href="C1.Pdf.PdfPushButton.Action.PageNo.html#C1_Pdf_PdfPushButton_Action_PageNo">PageNo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the 1-based page number for
<a class="xref" href="C1.Pdf.ButtonAction.html#C1_Pdf_ButtonAction_GotoPage">GotoPage</a> action.
Note that setting this property overrides the current
<a class="xref" href="C1.Pdf.PdfPushButton.Action.Command.html#C1_Pdf_PdfPushButton_Action_Command">Command</a> value with the string representation
of the page number.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
