# C1.C1Preview.RenderInputButtonBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderInputButtonBase" data-uid="C1.C1Preview.RenderInputButtonBase" class="text-break">RenderInputButtonBase Class
</h1>
  <div class="markdown level0 summary"><p>The abstract base class for button-like input controls (button, check box, radio button).</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"><span class="xref">RenderInputButtonBase</span></div>
      <div class="level4"><a class="xref" href="C1.C1Preview.RenderInputButton.html">RenderInputButton</a></div>
      <div class="level4"><a class="xref" href="C1.C1Preview.RenderInputCheckBox.html">RenderInputCheckBox</a></div>
      <div class="level4"><a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a></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.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_RenderInputButtonBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class RenderInputButtonBase : RenderInputBase, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class RenderInputButtonBase
    Inherits RenderInputBase
    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_RenderInputButtonBase__ctor" data-uid="C1.C1Preview.RenderInputButtonBase.#ctor">
          <a class="xref" href="C1.C1Preview.RenderInputButtonBase.-ctor.html#C1_C1Preview_RenderInputButtonBase__ctor">RenderInputButtonBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputButtonBase.html">RenderInputButtonBase</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_C1Preview_RenderInputButtonBase_Text" data-uid="C1.C1Preview.RenderInputButtonBase.Text">
          <a class="xref" href="C1.C1Preview.RenderInputButtonBase.Text.html#C1_C1Preview_RenderInputButtonBase_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text of the button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButtonBase_TextAlign" data-uid="C1.C1Preview.RenderInputButtonBase.TextAlign">
          <a class="xref" href="C1.C1Preview.RenderInputButtonBase.TextAlign.html#C1_C1Preview_RenderInputButtonBase_TextAlign">TextAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of the button text.</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_RenderInputButtonBase_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderInputButtonBase.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <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>
        </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.RenderInputBase.AssignFrom.html#C1_C1Preview_RenderInputBase_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,
then copies <a class="xref" href="C1.C1Preview.RenderInputButtonBase.html">RenderInputButtonBase</a>-specific properties if source is a <a class="xref" href="C1.C1Preview.RenderInputButtonBase.html">RenderInputButtonBase</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButtonBase_GetDefaultCursor" data-uid="C1.C1Preview.RenderInputButtonBase.GetDefaultCursor">
          <a class="xref" href="C1.C1Preview.RenderInputButtonBase.GetDefaultCursor.html#C1_C1Preview_RenderInputButtonBase_GetDefaultCursor">GetDefaultCursor()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default cursor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButtonBase_GetDefaultTextAlign" data-uid="C1.C1Preview.RenderInputButtonBase.GetDefaultTextAlign">
          <a class="xref" href="C1.C1Preview.RenderInputButtonBase.GetDefaultTextAlign.html#C1_C1Preview_RenderInputButtonBase_GetDefaultTextAlign">GetDefaultTextAlign()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default text alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButtonBase_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_" data-uid="C1.C1Preview.RenderInputButtonBase.InitControl(System.Windows.Forms.Control,C1.C1Preview.Scripting.IScriptContext)">
          <a class="xref" href="C1.C1Preview.RenderInputButtonBase.InitControl.html#C1_C1Preview_RenderInputButtonBase_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_">InitControl(Control, IScriptContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButtonBase_InitRenderObject" data-uid="C1.C1Preview.RenderInputButtonBase.InitRenderObject">
          <a class="xref" href="C1.C1Preview.RenderInputButtonBase.InitRenderObject.html#C1_C1Preview_RenderInputButtonBase_InitRenderObject">InitRenderObject()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the render object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputButtonBase_ShouldSerializeTextAlign" data-uid="C1.C1Preview.RenderInputButtonBase.ShouldSerializeTextAlign">
          <a class="xref" href="C1.C1Preview.RenderInputButtonBase.ShouldSerializeTextAlign.html#C1_C1Preview_RenderInputButtonBase_ShouldSerializeTextAlign">ShouldSerializeTextAlign()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether <a class="xref" href="C1.C1Preview.RenderInputButtonBase.TextAlign.html#C1_C1Preview_RenderInputButtonBase_TextAlign">TextAlign</a> should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
