[]
        
(Showing Draft Content)

C1.Win.C1InputPanel.InputComboBox

InputComboBox Class

Represents a combo box element in a C1InputPanel control.

Namespace: C1.Win.C1InputPanel
Assembly: C1.Win.C1InputPanel.4.8.dll
Syntax
public class InputComboBox : InputDropDown, IBindableComponent, IComponent, IDisposable, IInputXmlSerializable

Constructors

Name Description
InputComboBox()

Initializes a new instance of InputComboBox.

Properties

Name Description
AutoCompleteMode

Gets or sets an option that controls how automatic completion works for the InputComboBox.

AutoEllipsis

Enables the automatic handling of text that extends beyond the width of the component.

ContextMenuStrip

Gets or sets the context menu strip associated with the combo box.

CueBanner

Gets or sets the textual cue, or tip, that is displayed by InputComboBox to prompt the user for information.

DataSource

Gets or sets the data source object for the InputComboBox.

DefaultElementWidth

Gets the default width of the InputComboBox.

DefaultWidth

Gets the default width of the InputComboBox.

DisplayMember

Gets or sets the property to display for this InputComboBox.

DropDownStyle

Gets or sets a value specifying the style of the InputComboBox.

FormattingEnabled

Gets or sets a value indicating whether formatting is applied to the DisplayMember property of the InputComboBox.

GripHandleVisible

Gets or sets a value indicating whether the drop-down list can be resized.

HighlightedIndex

Gets or sets index of the highlighted item in the InputComboBox.

HighlightedOption

Gets or sets the highlighted option in the InputComboBox.

InitialSelection

Gets or sets a value determines the selection position when a control receives input focus.

Items

Gets the collection of items in this InputComboBox.

MaxDropDownItems

Gets or sets the maximum number of entries to display in the drop-down list.

MaxLength

Gets or sets the maximum length of the string in the Text property in this InputComboBox.

MismatchValueErrorText

Gets or sets the error message that appears if the typed text doesn't match any row in the lookup table.

NotSetVerticalAlign

Gets actual vertical alignment when the VerticalAlign property is equal to NotSet.

ReadOnly

Gets or sets a value indicating whether the contents of the component can be changed.

SelectedIndex

Gets or sets index of the selected item in the InputComboBox.

SelectedItem

Gets or sets the data item selected in the bound InputComboBox.

SelectedOption

Gets or sets the selected option in the InputComboBox.

SelectedValue

Gets or sets the value of the member property specified by the ValueMember property.

Text

Gets or sets the text in the InputComboBox.

TextAlign

Gets or sets how text is aligned in the InputComboBox.

TextBox

Gets the TextBox control contained in this InputComboBox.

ToolTipMember

Gets or sets the property to tooltip for items of this InputComboBox.

UpdateListPosition

Gets or sets a value indicating whether the Position property of the underlying CurrencyManager should be updated when the SelectedIndex changes.

ValueMember

Gets or sets the property to use as the actual value for the items in the InputComboBox.

Methods

Name Description
GetItemText(object)

Returns the text representation of the specified item.

OnDataSourceChanged(EventArgs)

Raises the DataSourceChanged event.

OnDisplayMemberChanged(EventArgs)

Raises the DisplayMemberChanged event.

OnFormat(ListControlConvertEventArgs)

Raises the Format event.

OnFormattingEnabledChanged(EventArgs)

Raises the FormattingEnabledChanged event.

OnHighlightedIndexChanged(EventArgs)

Raises the HighlightedIndexChanged event.

OnSelectedIndexChanged(EventArgs)

Raises the SelectedIndexChanged event.

OnSelectedValueChanged(EventArgs)

Raises the SelectedValueChanged event.

OnValueMemberChanged(EventArgs)

Raises the ValueMemberChanged event.

ResetMismatchValueErrorText()
ShouldSerializeItems()
ShouldSerializeMismatchValueErrorText()

Events

Name Description
DataSourceChanged

Fires when the DataSource property changes.

DisplayMemberChanged

Fires when the DisplayMember property changes.

Format

Formats a display value in the InputComboBox that is bound to a data source.

FormattingEnabledChanged

Fires when the FormattingEnabled property changes.

HighlightedIndexChanged

Fires when the value of the HighlightedIndex property changes.

SelectedIndexChanged

Fires when the value of the SelectedIndex property changes.

SelectedValueChanged

Fires when the SelectedValue property changes.

ValueMemberChanged

Fires when the ValueMember property changes.