[]
        
(Showing Draft Content)

C1.Win.Input.C1ComboBox

C1ComboBox Class

Represents a Windows combobox control.

Implements
IDropDownOwner
ISupportUiaContainer
IUiaExpandCollapseProvider
IEmbeddedEditor
Namespace: C1.Win.Input
Assembly: C1.Win.Input.8.dll
Syntax
[ToolboxBitmap(typeof(C1ComboBox), "C1ComboBox.png")]
public class C1ComboBox : C1DropDownEditorBase, ISupportInitialize, IDropDownOwner, ISupportUiaContainer, IUiaExpandCollapseProvider, IComboBox, IDropDownEditorBase, IDropDownControlBase, IInputEditor, IEmbeddedEditor

Constructors

Name Description
C1ComboBox()

Initializes a new instance of the C1ComboBox class.

Properties

Name Description
AllowSpinLoop

Gets or sets the determines whether the spinner moves to the first item when it reaches the last, or to the last when it reaches the first.

AutoCompleteCustomSource

Gets or sets a custom StringCollection to use when the AutoCompleteSource property is set to CustomSource.

AutoCompleteMode

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

AutoCompleteSource

Gets or sets a value specifying the source of complete strings used for automatic completion.

AutoSuggestMode

Gets or sets an option that controls how candidates searching works in auto-suggest mode.

HtmlPattern

Gets or sets the pattern to build HTML representation of C1ComboBox control items.

ItemHeight

Gets or sets the height of an item in the C1ComboBox control.

ItemMode

Gets or sets the C1ComboBox item mode.

Items

Gets the collection of the items contained in this C1ComboBox control.

ItemsDataSource

Gets or sets the data source for items of this C1ComboBox control.

ItemsDisplayMember

Gets or sets the property to display items for this C1ComboBox control.

ItemsImageList

Gets or sets the ImageList to get the images to display in the combobox items.

ItemsValueMember

Gets or sets the path of the property to use as the actual value for the items in the C1ComboBox control.

MaxDropDownItems

Gets or sets the maximum number of items to be shown in the drop-down portion of the C1ComboBox.

SelectedIndex

Gets or sets the index specifying the currently selected item.

SelectedItem

Gets or sets currently selected item in the C1ComboBox control.

SelectedValue

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

ShowTooltip

Gets or sets a value that indicates whether the C1ComboBox displays a tooltip for the highlighted drop-down list item or not.

Styles

Gets or sets the C1ComboBox styles.

TranslateValue

Gets or sets a value indicating that the Value property should be translated to the Text property using the DisplayText property.

Methods

Name Description
ApplyStyle()

Applies the style to control view.

CreateDropDownForm()

Creates the drop down form.

DestroyForm()

Destroys the DropDownForm.

Dispose(bool)

Releases the unmanaged resources used by the C1ComboBox control.

DropDownClicked()

Fires when DropDown button was clicked.

DropDownFormOpening()

Fires before drop down form is opened.

GetDropDownItem(UiaItem)

Gets the C1.Win.Accessibility.UiaItem from the drop down part of this C1DropDownControlBase control.

OnClick(EventArgs)

Raises the Click event.

OnDropDownClosed(EventArgs)

Raises the DropDownClosed event.

OnDropDownOpened(EventArgs)

Raises the DropDownOpened event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnMouseWheel(MouseEventArgs)

Raises the MouseWheel event.

OnPostChanges(Element)

Fires when item was clicked on drop down item list.

OnSelectedIndexChanged(EventArgs)

Raises the SelectedIndexChanged event.

OnSelectedItemChanged(EventArgs)

Raises the SelectedItemChanged event.

OnTextChanged(EventArgs)

Raises the TextChanged event.

OnTooltipShowing(ItemTooltipShowingEventArgs)

Raises the TooltipShowing event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

ResetItems()

Restores the default value of the Items property.

SetItemsDataSource(object, int)

Sets items data source for the C1ComboBox.

ShouldSerializeItems()

Specifies whether to save the value of the Items property.

UpdateIcon()

Updates the control icon.

Events

Name Description
SelectedIndexChanged

Occurs when the SelectedIndex property changes.

SelectedItemChanged

Occurs when the SelectedItem property changes.

TooltipShowing

Occurs before a tooltip is displayed for a highlighted drop-down list item. Allows to set tooltip options or cancel the tooltip display.