[]
        
(Showing Draft Content)

C1.Win.Input.C1MultiSelect

C1MultiSelect Class

A tag editor-based control with check list as drop-down.

Inheritance
C1MultiSelect
Namespace: C1.Win.Input
Assembly: C1.Win.Input.MultiSelect.8.dll
Syntax
[ToolboxBitmap(typeof(C1MultiSelect), "C1MultiSelect.png")]
public class C1MultiSelect : XViewHost

Constructors

Name Description
C1MultiSelect()

Initializes a new instance of the C1MultiSelect control.

Properties

Name Description
AutoCompleteMode

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

AutoSize
AutoSuggestMode

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

BackColor
BindingInfo

Contains information about data binding.

BorderColor

Gets or sets the color of the control border.

BorderStyle

Gets or sets the BorderStyle value determining the type of border around the control.

DisplayMode

Gets or sets a value indicates whether to show tag mode or text mode.

DropDownHeight

Gets or sets the height in pixels of the drop-down portion of the C1MultiSelect.

DropDownWidth

Gets or sets the width in pixels of the drop-down portion of the C1MultiSelect.

DroppedDown

Gets or sets a value indicating whether the C1MultiSelect is displaying its drop-down portion.

HeaderFormat

Gets or sets the format string used to create the header content when the control has more than MaxHeaderItems items selected.

IsHeaderFormatVisible

Gets a value that indicates whether header format is shown.

Items

Returns the collection of the C1.Win.TreeView.C1CheckListItem objects which are shown in drop-down part.

MaxHeaderItems

Gets or sets the maximum number of items to display on the control header.

Placeholder

Gets or sets the string shown as a hint when the control is empty.

ReadOnly

Gets or sets a value indicating whether text editor in the C1MultiSelect is read-only.

SelectAllCaption

Gets or sets the caption for Select All checkbox.

SelectedIndex

Gets or sets the index of the currently selected item in the drop-down list. A zero-based index of the currently selected item. A value of negative one (-1) is returned if no item is selected. When SelectionMode is Single then only one item remains selected.

SelectedItem

Gets or sets the item that is currently selected in the drop-down list.

SelectedItems

Gets the collection of selected items in the drop-down C1.Win.TreeView.C1CheckList control.

SelectedValues

Gets the array of selected item values in the drop-down C1.Win.TreeView.C1CheckList control.

SelectionMode

Gets or sets a value indicating how the items of the C1.Win.TreeView.C1CheckList control can be selected. SelectionMode is of type enumeration C1.Win.TreeView.SelectionMode. The default is C1.Win.TreeView.SelectionMode.Multiple. When SelectionMode was changed value to Single then one item remains selected.

Separator

Defines a separator string to separate items in text mode.

ShowCheckBoxes

Gets or sets a value indicating whether check boxes should be visible or not.

ShowDropDownButton

Gets or sets a value indicates whether to show drop-down button.

ShowRemoveButton

Gets or sets a value indicates whether to show remove button in each tag.

ShowSelectAll

Gets or sets a value that indicates whether to show select all checkbox or not.

Styles

Gets or sets styles.

TagWrap

Indicates whether a tag editor control automatically wraps tags to the beginning of the next line when necessary.

Text

Gets or sets the text associated with this control.

UnselectAllCaption

Gets or sets the caption for Unselect All checkbox.

Methods

Name Description
Dispose(bool)

Releases the unmanaged resources used by the C1MultiSelect control.

IsInputKey(Keys)
OnEnabledChanged(EventArgs)

Rises the EnabledChanged event.

OnFontChanged(EventArgs)

Raises the System.Windows.Forms.Control.FontChanged event.

OnKeyDown(KeyEventArgs)
OnRightToLeftChanged(EventArgs)

Rises the RightToLeftChanged event.

OnSelectionChanged(EventArgs)

Rises the SelectionChanged event.

OnStylesChanged(EventArgs)

Rises the StylesChanged event.

SelectAll()

Selects all items of the current C1MultiSelect control.

UnselectAll()

Cancel the selection of all items of the current C1MultiSelect control.

Events

Name Description
SelectionChanged

Occurs when the selected state of item was changed.

StylesChanged

Occurs when theme or some style has changed.