# C1.C1Preview.RenderInputText

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderInputText" data-uid="C1.C1Preview.RenderInputText" class="text-break">RenderInputText Class
</h1>
  <div class="markdown level0 summary"><p>Represents a <b>Preview Forms</b> textbox 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 textbox 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"><span class="xref">RenderInputText</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_RenderInputText_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderInputText : RenderInputBase, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderInputText
    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_RenderInputText__ctor" data-uid="C1.C1Preview.RenderInputText.#ctor">
          <a class="xref" href="C1.C1Preview.RenderInputText.-ctor.html#C1_C1Preview_RenderInputText__ctor">RenderInputText()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputText.html">RenderInputText</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText__ctor_System_String_" data-uid="C1.C1Preview.RenderInputText.#ctor(System.String)">
          <a class="xref" href="C1.C1Preview.RenderInputText.-ctor.html#C1_C1Preview_RenderInputText__ctor_System_String_">RenderInputText(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputText.html">RenderInputText</a> class,
assigning the <a class="xref" href="C1.C1Preview.RenderInputText.Text.html#C1_C1Preview_RenderInputText_Text">Text</a> property.</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_RenderInputText_AcceptsReturn" data-uid="C1.C1Preview.RenderInputText.AcceptsReturn">
          <a class="xref" href="C1.C1Preview.RenderInputText.AcceptsReturn.html#C1_C1Preview_RenderInputText_AcceptsReturn">AcceptsReturn</a>
        </td>
        <td class="markdown level1 summary"><p>Obsolete. Not supported.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText_BorderVisible" data-uid="C1.C1Preview.RenderInputText.BorderVisible">
          <a class="xref" href="C1.C1Preview.RenderInputText.BorderVisible.html#C1_C1Preview_RenderInputText_BorderVisible">BorderVisible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to draw borders around the current
input control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText_PasswordChar" data-uid="C1.C1Preview.RenderInputText.PasswordChar">
          <a class="xref" href="C1.C1Preview.RenderInputText.PasswordChar.html#C1_C1Preview_RenderInputText_PasswordChar">PasswordChar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the char used to hide real characters when entering passwords.
The default value of this property is <b>'\0'</b>, which disables hiding.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText_Text" data-uid="C1.C1Preview.RenderInputText.Text">
          <a class="xref" href="C1.C1Preview.RenderInputText.Text.html#C1_C1Preview_RenderInputText_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text shown in the textbox.</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_RenderInputText_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderInputText.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderInputText.AssignFrom.html#C1_C1Preview_RenderInputText_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.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderInputText.html">RenderInputText</a>, also copies <a class="xref" href="C1.C1Preview.RenderInputText.html">RenderInputText</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText_CreateSame" data-uid="C1.C1Preview.RenderInputText.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderInputText.CreateSame.html#C1_C1Preview_RenderInputText_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderInputText.html">RenderInputText</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_RenderInputText_GetAutoSize_C1_C1Preview_Scripting_IScriptContext_System_Int32__System_Int32__" data-uid="C1.C1Preview.RenderInputText.GetAutoSize(C1.C1Preview.Scripting.IScriptContext,System.Int32@,System.Int32@)">
          <a class="xref" href="C1.C1Preview.RenderInputText.GetAutoSize.html#C1_C1Preview_RenderInputText_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_RenderInputText_GetControlType" data-uid="C1.C1Preview.RenderInputText.GetControlType">
          <a class="xref" href="C1.C1Preview.RenderInputText.GetControlType.html#C1_C1Preview_RenderInputText_GetControlType">GetControlType()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText_GetDefaultCursor" data-uid="C1.C1Preview.RenderInputText.GetDefaultCursor">
          <a class="xref" href="C1.C1Preview.RenderInputText.GetDefaultCursor.html#C1_C1Preview_RenderInputText_GetDefaultCursor">GetDefaultCursor()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText_GetValue" data-uid="C1.C1Preview.RenderInputText.GetValue">
          <a class="xref" href="C1.C1Preview.RenderInputText.GetValue.html#C1_C1Preview_RenderInputText_GetValue">GetValue()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_" data-uid="C1.C1Preview.RenderInputText.InitControl(System.Windows.Forms.Control,C1.C1Preview.Scripting.IScriptContext)">
          <a class="xref" href="C1.C1Preview.RenderInputText.InitControl.html#C1_C1Preview_RenderInputText_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_RenderInputText_IsResetSelectionNeeded" data-uid="C1.C1Preview.RenderInputText.IsResetSelectionNeeded">
          <a class="xref" href="C1.C1Preview.RenderInputText.IsResetSelectionNeeded.html#C1_C1Preview_RenderInputText_IsResetSelectionNeeded">IsResetSelectionNeeded()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputText_SetValue_System_Object_" data-uid="C1.C1Preview.RenderInputText.SetValue(System.Object)">
          <a class="xref" href="C1.C1Preview.RenderInputText.SetValue.html#C1_C1Preview_RenderInputText_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.ActionHandlerBase.html">ActionHandlerBase</a></div>
  </div>

</div>
