# C1.C1Preview.RenderInputComboBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderInputComboBox" data-uid="C1.C1Preview.RenderInputComboBox" class="text-break">RenderInputComboBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a <b>Preview Forms</b> combobox (a textbox with an attached dropdown) 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 combobox 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">RenderInputComboBox</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.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_RenderInputComboBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderInputComboBox : RenderInputBase, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderInputComboBox
    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_RenderInputComboBox__ctor" data-uid="C1.C1Preview.RenderInputComboBox.#ctor">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.-ctor.html#C1_C1Preview_RenderInputComboBox__ctor">RenderInputComboBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputComboBox.html">RenderInputComboBox</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox__ctor_System_String___" data-uid="C1.C1Preview.RenderInputComboBox.#ctor(System.String[])">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.-ctor.html#C1_C1Preview_RenderInputComboBox__ctor_System_String___">RenderInputComboBox(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputComboBox.html">RenderInputComboBox</a> class,
assigning <a class="xref" href="C1.C1Preview.RenderInputComboBox.Items.html#C1_C1Preview_RenderInputComboBox_Items">Items</a> from the specified strings.</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_RenderInputComboBox_AcceptsReturn" data-uid="C1.C1Preview.RenderInputComboBox.AcceptsReturn">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.AcceptsReturn.html#C1_C1Preview_RenderInputComboBox_AcceptsReturn">AcceptsReturn</a>
        </td>
        <td class="markdown level1 summary"><p>Obsolete. Not supported.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_BorderVisible" data-uid="C1.C1Preview.RenderInputComboBox.BorderVisible">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.BorderVisible.html#C1_C1Preview_RenderInputComboBox_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_RenderInputComboBox_DropDownStyle" data-uid="C1.C1Preview.RenderInputComboBox.DropDownStyle">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.DropDownStyle.html#C1_C1Preview_RenderInputComboBox_DropDownStyle">DropDownStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.comboboxstyle">ComboBoxStyle</a> of the combobox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_HasItems" data-uid="C1.C1Preview.RenderInputComboBox.HasItems">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.HasItems.html#C1_C1Preview_RenderInputComboBox_HasItems">HasItems</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="C1.C1Preview.RenderInputComboBox.Items.html#C1_C1Preview_RenderInputComboBox_Items">Items</a> collection
has been initialized and contains one or more elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_Items" data-uid="C1.C1Preview.RenderInputComboBox.Items">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.Items.html#C1_C1Preview_RenderInputComboBox_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.C1Preview.RenderInputComboBoxItem.html">RenderInputComboBoxItem</a> objects
representing the items in the combobox dropdown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_PasswordChar" data-uid="C1.C1Preview.RenderInputComboBox.PasswordChar">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.PasswordChar.html#C1_C1Preview_RenderInputComboBox_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_RenderInputComboBox_Text" data-uid="C1.C1Preview.RenderInputComboBox.Text">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.Text.html#C1_C1Preview_RenderInputComboBox_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the string shown in the textbox 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_RenderInputComboBox_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderInputComboBox.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.AssignFrom.html#C1_C1Preview_RenderInputComboBox_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.RenderInputComboBox.html">RenderInputComboBox</a>, also copies <a class="xref" href="C1.C1Preview.RenderInputComboBox.html">RenderInputComboBox</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_CreateSame" data-uid="C1.C1Preview.RenderInputComboBox.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.CreateSame.html#C1_C1Preview_RenderInputComboBox_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderInputComboBox.html">RenderInputComboBox</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_RenderInputComboBox_GetAutoSize_C1_C1Preview_Scripting_IScriptContext_System_Int32__System_Int32__" data-uid="C1.C1Preview.RenderInputComboBox.GetAutoSize(C1.C1Preview.Scripting.IScriptContext,System.Int32@,System.Int32@)">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.GetAutoSize.html#C1_C1Preview_RenderInputComboBox_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_RenderInputComboBox_GetControlType" data-uid="C1.C1Preview.RenderInputComboBox.GetControlType">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.GetControlType.html#C1_C1Preview_RenderInputComboBox_GetControlType">GetControlType()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_GetDefaultCursor" data-uid="C1.C1Preview.RenderInputComboBox.GetDefaultCursor">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.GetDefaultCursor.html#C1_C1Preview_RenderInputComboBox_GetDefaultCursor">GetDefaultCursor()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_GetValue" data-uid="C1.C1Preview.RenderInputComboBox.GetValue">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.GetValue.html#C1_C1Preview_RenderInputComboBox_GetValue">GetValue()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_" data-uid="C1.C1Preview.RenderInputComboBox.InitControl(System.Windows.Forms.Control,C1.C1Preview.Scripting.IScriptContext)">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.InitControl.html#C1_C1Preview_RenderInputComboBox_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_RenderInputComboBox_IsResetSelectionNeeded" data-uid="C1.C1Preview.RenderInputComboBox.IsResetSelectionNeeded">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.IsResetSelectionNeeded.html#C1_C1Preview_RenderInputComboBox_IsResetSelectionNeeded">IsResetSelectionNeeded()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputComboBox_SetValue_System_Object_" data-uid="C1.C1Preview.RenderInputComboBox.SetValue(System.Object)">
          <a class="xref" href="C1.C1Preview.RenderInputComboBox.SetValue.html#C1_C1Preview_RenderInputComboBox_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.RenderInputComboBoxItem.html">RenderInputComboBoxItem</a></div>
      <div><a class="xref" href="C1.C1Preview.ActionHandlerBase.html">ActionHandlerBase</a></div>
  </div>

</div>
