[]
        
(Showing Draft Content)

C1.Win.Input.MultiColumnCombo.C1MultiColumnCombo

C1MultiColumnCombo Class

Represents a multicolumn drop-down list box, supports seaching, filtering, sorting, data binding and themes.

Inheritance
C1MultiColumnCombo
Implements
IDropDownControlBase
IInputEditor
IEmbeddedEditor
Namespace: C1.Win.Input.MultiColumnCombo
Assembly: C1.Win.Input.MultiColumnCombo.8.dll
Syntax
[ToolboxBitmap(typeof(C1MultiColumnCombo), "C1MultiColumnCombo.png")]
public class C1MultiColumnCombo : C1DropDownControlBase, ISupportSorting, ISupportUnboundMode, IDropDownControlBase, IInputEditor, IEmbeddedEditor

Constructors

Name Description
C1MultiColumnCombo()

Initializes a new instance of the C1MultiColumnCombo class.

Properties

Name Description
AddItemSeparator

Gets or sets a value that determines the separation string for columns for unbound mode.

AllowSearching
AllowSorting

Gets or sets a value that indicates whether the user is allowed to sort columns using the mouse.

AutoFiltering
AutoGenerateColumns
Columns
CustomView
DataMember
DataSource
DefaultColumnWidth
DisplayMember
DropDownHeight
DropDownView
DropDownWidth
ExtendLastColumn
GroupDescriptions
HeaderHeight
ItemHeight
ItemsCount
MaxDropDownItems
MaxLength
Placeholder
ReadOnly
RowTracking
SelectedIndex
SelectedText
SelectedValue
SelectionLength
SelectionStart
ShowColumnHeaders
Styles

Gets or sets the C1MultiColumnCombo styles.

Text
TextAlign
ValueMember
VerticalAlign

Methods

Name Description
AddColumnHeaders(string)

Adds column headers to the view in unbound mode.

AddItem(string)

Adds a new item to the end of view in the unbound mode.

ApplyStyle()
ClearItems()

Removes all items in unbound mode.

CreateDropDownForm()
CreateDropDownView(DropDownView)

Instantiates an IDropDownView, applies the properties from this C1MultiColumnCombo, and subscribes to events.

FindString(string, int, int, bool, bool)
FindString(string, int, string, bool, bool)
GetItemText(int, int)
GetItemText(int, string)
InsertItem(string, int)

Inserts a new item at the specified index position of view in the unbound mode.

OnDataBindingComplete(EventArgs)

Fires the DataBindingComplete event.

OnDropDownClosed(EventArgs)
OnDropDownOpening(CancelEventArgs)
OnDropDownViewChanged(EventArgs)

Fires the DropDownViewChanged event.

OnKeyDown(KeyEventArgs)
OnMouseWheel(MouseEventArgs)
OnReadOnlyChanged(EventArgs)

Raises the ReadOnlyChanged event.

OnSelectedIndexChanged(EventArgs)

Fires the SelectedIndexChanged event.

OnSelectedValueChanged(EventArgs)

Fires the SelectedValueChanged event.

OnSorted(EventArgs)

Fires the Sorted event.

OnTextAlignChanged(EventArgs)

Raises the TextAlignChanged event.

OnTextChanged(EventArgs)
OnVerticalAlignChanged(EventArgs)

Raises the VerticalAlignChanged event.

RemoveItem(int)

Removes the item at the specified position in unbound mode.

ResetDropDownWidth()
ScrollToCell(int, int)
Select(int, int)
SelectAll()
SetItemData(int, int, string)

Updates cell data for unbound mode.

ShouldSerializeDropDownWidth()
Sort(int, SortDirection)

Sorts the view contents based on a column.

Sort(string, SortDirection)

Sorts the view contents based on a column.

Events

Name Description
DataBindingComplete
DropDownViewChanged
ReadOnlyChanged

Occurs when the value of the ReadOnly property has changed.

SelectedIndexChanged
SelectedValueChanged
Sorted

Occurs when the view was sorted.

TextAlignChanged

Occurs when the value of the TextAlign property has changed.

VerticalAlignChanged

Occurs when the value of the VerticalAlign property has changed.