# C1.C1Preview.RenderInputBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderInputBase" data-uid="C1.C1Preview.RenderInputBase" class="text-break">RenderInputBase Class
</h1>
  <div class="markdown level0 summary"><p>The abstract base class for all <b>Preview Forms</b> input controls.
Derived types represent active UI elements embedded in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>
when that document is shown by a supporting viewer (e.g. <b>C1.Win.C1Preview.C1PrintPreviewControl</b>).</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"><span class="xref">RenderInputBase</span></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.RenderInputButtonBase.html">RenderInputButtonBase</a></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.RenderInputComboBox.html">RenderInputComboBox</a></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.RenderInputText.html">RenderInputText</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.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_RenderInputBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class RenderInputBase : RenderObject, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class RenderInputBase
    Inherits RenderObject
    Implements IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <h5 id="C1_C1Preview_RenderInputBase_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Derived classes include
<a class="xref" href="C1.C1Preview.RenderInputButton.html">RenderInputButton</a>,
<a class="xref" href="C1.C1Preview.RenderInputCheckBox.html">RenderInputCheckBox</a>,
<a class="xref" href="C1.C1Preview.RenderInputComboBox.html">RenderInputComboBox</a>,
<a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a> and
<a class="xref" href="C1.C1Preview.RenderInputText.html">RenderInputText</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_RenderInputBase__ctor" data-uid="C1.C1Preview.RenderInputBase.#ctor">
          <a class="xref" href="C1.C1Preview.RenderInputBase.-ctor.html#C1_C1Preview_RenderInputBase__ctor">RenderInputBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputBase.html">RenderInputBase</a> object.</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_RenderInputBase_Cursor" data-uid="C1.C1Preview.RenderInputBase.Cursor">
          <a class="xref" href="C1.C1Preview.RenderInputBase.Cursor.html#C1_C1Preview_RenderInputBase_Cursor">Cursor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the cursor used when the mouse is over the current control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_HasInputActions" data-uid="C1.C1Preview.RenderInputBase.HasInputActions">
          <a class="xref" href="C1.C1Preview.RenderInputBase.HasInputActions.html#C1_C1Preview_RenderInputBase_HasInputActions">HasInputActions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the current object's <a class="xref" href="C1.C1Preview.RenderInputBase.InputActions.html#C1_C1Preview_RenderInputBase_InputActions">InputActions</a>
collection has been initialized and contains one or more fragments.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_InputActions" data-uid="C1.C1Preview.RenderInputBase.InputActions">
          <a class="xref" href="C1.C1Preview.RenderInputBase.InputActions.html#C1_C1Preview_RenderInputBase_InputActions">InputActions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.C1Preview.InputAction.html">InputAction</a> objects
describing the pairs of supported user actions and handlers associated with those actions.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_Printable" data-uid="C1.C1Preview.RenderInputBase.Printable">
          <a class="xref" href="C1.C1Preview.RenderInputBase.Printable.html#C1_C1Preview_RenderInputBase_Printable">Printable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the current control is printed.
If <b>true</b> (default), the content of the control is printed normally.
Otherwise, it is not printed or exported. This might be used for example
to provide help (invisible in the printed document)
for form fields that are to be filled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_ReadOnly" data-uid="C1.C1Preview.RenderInputBase.ReadOnly">
          <a class="xref" href="C1.C1Preview.RenderInputBase.ReadOnly.html#C1_C1Preview_RenderInputBase_ReadOnly">ReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the current control is read-only.
For read-only controls, all input actions are still fired, but the control's
value cannot be changed. The default is <b>false</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_StatusText" data-uid="C1.C1Preview.RenderInputBase.StatusText">
          <a class="xref" href="C1.C1Preview.RenderInputBase.StatusText.html#C1_C1Preview_RenderInputBase_StatusText">StatusText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text that appears in the status line of the preview control
when the current control has focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_ToolTip" data-uid="C1.C1Preview.RenderInputBase.ToolTip">
          <a class="xref" href="C1.C1Preview.RenderInputBase.ToolTip.html#C1_C1Preview_RenderInputBase_ToolTip">ToolTip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the tooltip associated with the current control.</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_RenderInputBase_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderInputBase.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <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>
        </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.RenderObject.AssignFrom.html#C1_C1Preview_RenderObject_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.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderInputBase.html">RenderInputBase</a>, also copies <a class="xref" href="C1.C1Preview.RenderInputBase.html">RenderInputBase</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_CreateControl_C1_C1Preview_Scripting_IScriptContext_" data-uid="C1.C1Preview.RenderInputBase.CreateControl(C1.C1Preview.Scripting.IScriptContext)">
          <a class="xref" href="C1.C1Preview.RenderInputBase.CreateControl.html#C1_C1Preview_RenderInputBase_CreateControl_C1_C1Preview_Scripting_IScriptContext_">CreateControl(IScriptContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the underlying <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_GetAutoSize_C1_C1Preview_Scripting_IScriptContext_System_Int32__System_Int32__" data-uid="C1.C1Preview.RenderInputBase.GetAutoSize(C1.C1Preview.Scripting.IScriptContext,System.Int32@,System.Int32@)">
          <a class="xref" href="C1.C1Preview.RenderInputBase.GetAutoSize.html#C1_C1Preview_RenderInputBase_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 input control in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_GetControlType" data-uid="C1.C1Preview.RenderInputBase.GetControlType">
          <a class="xref" href="C1.C1Preview.RenderInputBase.GetControlType.html#C1_C1Preview_RenderInputBase_GetControlType">GetControlType()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the control type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_GetDefaultCursor" data-uid="C1.C1Preview.RenderInputBase.GetDefaultCursor">
          <a class="xref" href="C1.C1Preview.RenderInputBase.GetDefaultCursor.html#C1_C1Preview_RenderInputBase_GetDefaultCursor">GetDefaultCursor()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_GetDefaultFlags" data-uid="C1.C1Preview.RenderInputBase.GetDefaultFlags">
          <a class="xref" href="C1.C1Preview.RenderInputBase.GetDefaultFlags.html#C1_C1Preview_RenderInputBase_GetDefaultFlags">GetDefaultFlags()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_GetValue" data-uid="C1.C1Preview.RenderInputBase.GetValue">
          <a class="xref" href="C1.C1Preview.RenderInputBase.GetValue.html#C1_C1Preview_RenderInputBase_GetValue">GetValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the input value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_" data-uid="C1.C1Preview.RenderInputBase.InitControl(System.Windows.Forms.Control,C1.C1Preview.Scripting.IScriptContext)">
          <a class="xref" href="C1.C1Preview.RenderInputBase.InitControl.html#C1_C1Preview_RenderInputBase_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_">InitControl(Control, IScriptContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the input control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_InitRenderObject" data-uid="C1.C1Preview.RenderInputBase.InitRenderObject">
          <a class="xref" href="C1.C1Preview.RenderInputBase.InitRenderObject.html#C1_C1Preview_RenderInputBase_InitRenderObject">InitRenderObject()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_IsControlNeededParentForWmPrint" data-uid="C1.C1Preview.RenderInputBase.IsControlNeededParentForWmPrint">
          <a class="xref" href="C1.C1Preview.RenderInputBase.IsControlNeededParentForWmPrint.html#C1_C1Preview_RenderInputBase_IsControlNeededParentForWmPrint">IsControlNeededParentForWmPrint()</a>
        </td>
        <td class="markdown level1 summary"><p>Called to test whether the underlying control requires a parent
to correctly process the WM_PRINT message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_IsResetSelectionNeeded" data-uid="C1.C1Preview.RenderInputBase.IsResetSelectionNeeded">
          <a class="xref" href="C1.C1Preview.RenderInputBase.IsResetSelectionNeeded.html#C1_C1Preview_RenderInputBase_IsResetSelectionNeeded">IsResetSelectionNeeded()</a>
        </td>
        <td class="markdown level1 summary"><p>Called to test whether the selection on the parent control
should be reset when the underlying control receives input focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_OnValueChanged" data-uid="C1.C1Preview.RenderInputBase.OnValueChanged">
          <a class="xref" href="C1.C1Preview.RenderInputBase.OnValueChanged.html#C1_C1Preview_RenderInputBase_OnValueChanged">OnValueChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the <span class="xref">C1.C1Preview.IValueProvider.Value</span> has changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_SetSplitHorzBehavior_C1_C1Preview_SplitBehaviorEnum_" data-uid="C1.C1Preview.RenderInputBase.SetSplitHorzBehavior(C1.C1Preview.SplitBehaviorEnum)">
          <a class="xref" href="C1.C1Preview.RenderInputBase.SetSplitHorzBehavior.html#C1_C1Preview_RenderInputBase_SetSplitHorzBehavior_C1_C1Preview_SplitBehaviorEnum_">SetSplitHorzBehavior(SplitBehaviorEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_SetSplitVertBehavior_C1_C1Preview_SplitBehaviorEnum_" data-uid="C1.C1Preview.RenderInputBase.SetSplitVertBehavior(C1.C1Preview.SplitBehaviorEnum)">
          <a class="xref" href="C1.C1Preview.RenderInputBase.SetSplitVertBehavior.html#C1_C1Preview_RenderInputBase_SetSplitVertBehavior_C1_C1Preview_SplitBehaviorEnum_">SetSplitVertBehavior(SplitBehaviorEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_SetValue_System_Object_" data-uid="C1.C1Preview.RenderInputBase.SetValue(System.Object)">
          <a class="xref" href="C1.C1Preview.RenderInputBase.SetValue.html#C1_C1Preview_RenderInputBase_SetValue_System_Object_">SetValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the input value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputBase_ShouldSerializeCursor" data-uid="C1.C1Preview.RenderInputBase.ShouldSerializeCursor">
          <a class="xref" href="C1.C1Preview.RenderInputBase.ShouldSerializeCursor.html#C1_C1Preview_RenderInputBase_ShouldSerializeCursor">ShouldSerializeCursor()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderInputBase.Cursor.html#C1_C1Preview_RenderInputBase_Cursor">Cursor</a> should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.ActionHandlerBase.html">ActionHandlerBase</a></div>
  </div>

</div>
