# C1.C1Preview.RenderInputButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderInputButton" data-uid="C1.C1Preview.RenderInputButton" class="text-break">RenderInputButton Class
</h1>
  <div class="markdown level0 summary"><p>Represents a <b>Preview Forms</b> pushbutton in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>.
When the document is shown by a supporting viewer (e.g. <b>C1.Win.C1Preview.C1PrintPreviewControl</b>),
produces an active pushbutton control.</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.C1Preview.RenderObject.html">RenderObject</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.RenderInputBase.html">RenderInputBase</a></div>
    <div class="level3"><a class="xref" href="C1.C1Preview.RenderInputButtonBase.html">RenderInputButtonBase</a></div>
    <div class="level4"><span class="xref">RenderInputButton</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.C1Preview.IStyleOwner.html">IStyleOwner</a></div>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></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_RenderInputButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderInputButton : RenderInputButtonBase, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderInputButton
    Inherits RenderInputButtonBase
    Implements IStyleOwner, IDocumentLocation</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_RenderInputButton__ctor" data-uid="C1.C1Preview.RenderInputButton.#ctor">
          <a class="xref" href="C1.C1Preview.RenderInputButton.-ctor.html#C1_C1Preview_RenderInputButton__ctor">RenderInputButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputButton.html">RenderInputButton</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButton__ctor_System_String_" data-uid="C1.C1Preview.RenderInputButton.#ctor(System.String)">
          <a class="xref" href="C1.C1Preview.RenderInputButton.-ctor.html#C1_C1Preview_RenderInputButton__ctor_System_String_">RenderInputButton(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputButton.html">RenderInputButton</a> class,
assigning the button text.</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_RenderInputButton_AcceptButton" data-uid="C1.C1Preview.RenderInputButton.AcceptButton">
          <a class="xref" href="C1.C1Preview.RenderInputButton.AcceptButton.html#C1_C1Preview_RenderInputButton_AcceptButton">AcceptButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the current button should function
as an &quot;Accept button&quot;, so that its action is executed when the <b>ENTER</b> is pressed
in a supporting viewer control showing the document containing this button.</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_RenderInputButton_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderInputButton.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderInputButton.AssignFrom.html#C1_C1Preview_RenderInputButton_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> to the current object.
Calls the base <a class="xref" href="C1.C1Preview.RenderInputButtonBase.AssignFrom.html#C1_C1Preview_RenderInputButtonBase_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a> method.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButton_CreateSame" data-uid="C1.C1Preview.RenderInputButton.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderInputButton.CreateSame.html#C1_C1Preview_RenderInputButton_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderInputButton.html">RenderInputButton</a> object
linked with same <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> as current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButton_GetAutoSize_C1_C1Preview_Scripting_IScriptContext_System_Int32__System_Int32__" data-uid="C1.C1Preview.RenderInputButton.GetAutoSize(C1.C1Preview.Scripting.IScriptContext,System.Int32@,System.Int32@)">
          <a class="xref" href="C1.C1Preview.RenderInputButton.GetAutoSize.html#C1_C1Preview_RenderInputButton_GetAutoSize_C1_C1Preview_Scripting_IScriptContext_System_Int32__System_Int32__">GetAutoSize(IScriptContext, ref int, ref int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the preffered size of the control in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButton_GetControlType" data-uid="C1.C1Preview.RenderInputButton.GetControlType">
          <a class="xref" href="C1.C1Preview.RenderInputButton.GetControlType.html#C1_C1Preview_RenderInputButton_GetControlType">GetControlType()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButton_GetValue" data-uid="C1.C1Preview.RenderInputButton.GetValue">
          <a class="xref" href="C1.C1Preview.RenderInputButton.GetValue.html#C1_C1Preview_RenderInputButton_GetValue">GetValue()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButton_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_" data-uid="C1.C1Preview.RenderInputButton.InitControl(System.Windows.Forms.Control,C1.C1Preview.Scripting.IScriptContext)">
          <a class="xref" href="C1.C1Preview.RenderInputButton.InitControl.html#C1_C1Preview_RenderInputButton_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_">InitControl(Control, IScriptContext)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButton_SetValue_System_Object_" data-uid="C1.C1Preview.RenderInputButton.SetValue(System.Object)">
          <a class="xref" href="C1.C1Preview.RenderInputButton.SetValue.html#C1_C1Preview_RenderInputButton_SetValue_System_Object_">SetValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.RenderInputBase.html">RenderInputBase</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderInputButtonBase.html">RenderInputButtonBase</a></div>
      <div><a class="xref" href="C1.C1Preview.ActionHandlerBase.html">ActionHandlerBase</a></div>
  </div>

</div>
