[]
        
(Showing Draft Content)

C1.C1Preview.RenderInputComboBox

RenderInputComboBox Class

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

Inheritance
RenderInputComboBox
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class RenderInputComboBox : RenderInputBase, IStyleOwner, IDocumentLocation

Constructors

Name Description
RenderInputComboBox()

Initializes a new instance of the RenderInputComboBox class.

RenderInputComboBox(params string[])

Initializes a new instance of the RenderInputComboBox class, assigning Items from the specified strings.

Properties

Name Description
AcceptsReturn

Obsolete. Not supported.

BorderVisible

Gets or sets a value indicating whether to draw borders around the current input control.

DropDownStyle

Gets or sets the ComboBoxStyle of the combobox.

HasItems

Gets a value indicating whether the Items collection has been initialized and contains one or more elements.

Items

Gets the collection of RenderInputComboBoxItem objects representing the items in the combobox dropdown.

PasswordChar

Gets or sets the char used to hide real characters when entering passwords. The default value of this property is '\0', which disables hiding.

Text

Gets or sets the string shown in the textbox control.

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 RenderInputComboBox, also copies RenderInputComboBox-specific properties.

CreateSame()

Creates new empty RenderInputComboBox 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.

GetDefaultCursor()

For internal use.

GetValue()

For internal use.

InitControl(Control, IScriptContext)

For internal use.

IsResetSelectionNeeded()

For internal use.

SetValue(object)

For internal use.

See Also