# C1.C1Preview.RenderInputRadioButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderInputRadioButton" data-uid="C1.C1Preview.RenderInputRadioButton" class="text-break">RenderInputRadioButton Class
</h1>
  <div class="markdown level0 summary"><p>Represents a <b>Preview Forms</b> radio button 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 radio button 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">RenderInputRadioButton</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_RenderInputRadioButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderInputRadioButton : RenderInputButtonBase, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderInputRadioButton
    Inherits RenderInputButtonBase
    Implements IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <h5 id="C1_C1Preview_RenderInputRadioButton_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Several <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a> objects can be combined into a group,
in which case checking one button will un-check other buttons in that group
(see the <a class="xref" href="C1.C1Preview.RenderInputRadioButton.GroupIndex.html#C1_C1Preview_RenderInputRadioButton_GroupIndex">GroupIndex</a> property for details).</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_RenderInputRadioButton__ctor" data-uid="C1.C1Preview.RenderInputRadioButton.#ctor">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.-ctor.html#C1_C1Preview_RenderInputRadioButton__ctor">RenderInputRadioButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton__ctor_System_String_" data-uid="C1.C1Preview.RenderInputRadioButton.#ctor(System.String)">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.-ctor.html#C1_C1Preview_RenderInputRadioButton__ctor_System_String_">RenderInputRadioButton(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a> class,
assigning the <a class="xref" href="C1.C1Preview.RenderInputButtonBase.Text.html#C1_C1Preview_RenderInputButtonBase_Text">Text</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton__ctor_System_String_System_Int32_" data-uid="C1.C1Preview.RenderInputRadioButton.#ctor(System.String,System.Int32)">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.-ctor.html#C1_C1Preview_RenderInputRadioButton__ctor_System_String_System_Int32_">RenderInputRadioButton(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a> class,
assigning the <a class="xref" href="C1.C1Preview.RenderInputButtonBase.Text.html#C1_C1Preview_RenderInputButtonBase_Text">Text</a> and <a class="xref" href="C1.C1Preview.RenderInputRadioButton.GroupIndex.html#C1_C1Preview_RenderInputRadioButton_GroupIndex">GroupIndex</a> properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton__ctor_System_String_System_String_" data-uid="C1.C1Preview.RenderInputRadioButton.#ctor(System.String,System.String)">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.-ctor.html#C1_C1Preview_RenderInputRadioButton__ctor_System_String_System_String_">RenderInputRadioButton(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a> class,
assigning the <a class="xref" href="C1.C1Preview.RenderObject.Name.html#C1_C1Preview_RenderObject_Name">Name</a> and <a class="xref" href="C1.C1Preview.RenderInputButtonBase.Text.html#C1_C1Preview_RenderInputButtonBase_Text">Text</a> properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton__ctor_System_String_System_String_System_Int32_" data-uid="C1.C1Preview.RenderInputRadioButton.#ctor(System.String,System.String,System.Int32)">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.-ctor.html#C1_C1Preview_RenderInputRadioButton__ctor_System_String_System_String_System_Int32_">RenderInputRadioButton(string, string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a> class,
assigning the <a class="xref" href="C1.C1Preview.RenderObject.Name.html#C1_C1Preview_RenderObject_Name">Name</a>, <a class="xref" href="C1.C1Preview.RenderInputButtonBase.Text.html#C1_C1Preview_RenderInputButtonBase_Text">Text</a>
and <a class="xref" href="C1.C1Preview.RenderInputRadioButton.GroupIndex.html#C1_C1Preview_RenderInputRadioButton_GroupIndex">GroupIndex</a> properties.</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_RenderInputRadioButton_CheckAlign" data-uid="C1.C1Preview.RenderInputRadioButton.CheckAlign">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.CheckAlign.html#C1_C1Preview_RenderInputRadioButton_CheckAlign">CheckAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of the checkbox relative to the text of the current radio button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton_Checked" data-uid="C1.C1Preview.RenderInputRadioButton.Checked">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.Checked.html#C1_C1Preview_RenderInputRadioButton_Checked">Checked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the current radio button is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton_GroupIndex" data-uid="C1.C1Preview.RenderInputRadioButton.GroupIndex">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.GroupIndex.html#C1_C1Preview_RenderInputRadioButton_GroupIndex">GroupIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the group index of the current radio button.
Only one radio button in a group can be checked at any time.</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_RenderInputRadioButton_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderInputRadioButton.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.AssignFrom.html#C1_C1Preview_RenderInputRadioButton_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.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a>, also copies <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton_CreateSame" data-uid="C1.C1Preview.RenderInputRadioButton.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.CreateSame.html#C1_C1Preview_RenderInputRadioButton_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderInputRadioButton.html">RenderInputRadioButton</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_RenderInputRadioButton_GetAutoSize_C1_C1Preview_Scripting_IScriptContext_System_Int32__System_Int32__" data-uid="C1.C1Preview.RenderInputRadioButton.GetAutoSize(C1.C1Preview.Scripting.IScriptContext,System.Int32@,System.Int32@)">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.GetAutoSize.html#C1_C1Preview_RenderInputRadioButton_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_RenderInputRadioButton_GetControlType" data-uid="C1.C1Preview.RenderInputRadioButton.GetControlType">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.GetControlType.html#C1_C1Preview_RenderInputRadioButton_GetControlType">GetControlType()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton_GetDefaultTextAlign" data-uid="C1.C1Preview.RenderInputRadioButton.GetDefaultTextAlign">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.GetDefaultTextAlign.html#C1_C1Preview_RenderInputRadioButton_GetDefaultTextAlign">GetDefaultTextAlign()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton_GetValue" data-uid="C1.C1Preview.RenderInputRadioButton.GetValue">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.GetValue.html#C1_C1Preview_RenderInputRadioButton_GetValue">GetValue()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton_InitControl_System_Windows_Forms_Control_C1_C1Preview_Scripting_IScriptContext_" data-uid="C1.C1Preview.RenderInputRadioButton.InitControl(System.Windows.Forms.Control,C1.C1Preview.Scripting.IScriptContext)">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.InitControl.html#C1_C1Preview_RenderInputRadioButton_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_RenderInputRadioButton_InitRenderObject" data-uid="C1.C1Preview.RenderInputRadioButton.InitRenderObject">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.InitRenderObject.html#C1_C1Preview_RenderInputRadioButton_InitRenderObject">InitRenderObject()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderInputRadioButton_SetValue_System_Object_" data-uid="C1.C1Preview.RenderInputRadioButton.SetValue(System.Object)">
          <a class="xref" href="C1.C1Preview.RenderInputRadioButton.SetValue.html#C1_C1Preview_RenderInputRadioButton_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>
