[]
        
(Showing Draft Content)

C1.C1Preview.RenderInputRadioButton

RenderInputRadioButton Class

Represents a Preview Forms radio button in a C1PrintDocument. When the document is shown by a supporting viewer (e.g. C1.Win.C1Preview.C1PrintPreviewControl), produces an active radio button control.

Inheritance
RenderInputRadioButton
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class RenderInputRadioButton : RenderInputButtonBase, IStyleOwner, IDocumentLocation
Remarks

Several RenderInputRadioButton objects can be combined into a group, in which case checking one button will un-check other buttons in that group (see the GroupIndex property for details).

Constructors

Name Description
RenderInputRadioButton()

Initializes a new instance of the RenderInputRadioButton class.

RenderInputRadioButton(string)

Initializes a new instance of the RenderInputRadioButton class, assigning the Text property.

RenderInputRadioButton(string, int)

Initializes a new instance of the RenderInputRadioButton class, assigning the Text and GroupIndex properties.

RenderInputRadioButton(string, string)

Initializes a new instance of the RenderInputRadioButton class, assigning the Name and Text properties.

RenderInputRadioButton(string, string, int)

Initializes a new instance of the RenderInputRadioButton class, assigning the Name, Text and GroupIndex properties.

Properties

Name Description
CheckAlign

Gets or sets the alignment of the checkbox relative to the text of the current radio button.

Checked

Gets or sets a value indicating whether the current radio button is checked.

GroupIndex

Gets or sets the group index of the current radio button. Only one radio button in a group can be checked at any time.

Methods

Name Description
AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)

Assigns (copies) properties from another RenderObject to the current object. Calls the base AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) method. If source is a RenderInputRadioButton, also copies RenderInputRadioButton-specific properties.

CreateSame()

Creates new empty RenderInputRadioButton object linked with same C1PrintDocument as current object.

GetAutoSize(IScriptContext, ref int, ref int)

Returns the preffered size of the control in pixels.

GetControlType()

For internal use.

GetDefaultTextAlign()

For internal use.

GetValue()

For internal use.

InitControl(Control, IScriptContext)

For internal use.

InitRenderObject()

For internal use.

SetValue(object)

For internal use.

See Also