HeaderPane
Main
Hide
Share Link
Print

Comparison with ComboBox

SftBox/NET covers all functions of the Windows Forms ComboBox control. It is not a drop-in replacement: its properties, methods, events and enumerations have their own names and types, and its list is a hierarchical list (ListClass) with items, columns and cells. This table shows where each function of the ComboBox control is found.

ComboBoxSftBox/NET
DropDownStyleSftBox.Style (BoxStyleEnum)
Items, BeginUpdate, EndUpdateSftBox.Items, the list's items (ItemCollectionClass), and the list's Initializing property (SftBox.List.Initializing)
SelectedIndex, SelectedItem, SelectedValueSftBox.SelectedItem (an ItemClass), SftBox.SelectedDataItem, SftBox.SelectedValue
SelectedIndexChanged, SelectionChangeCommitted, SelectedValueChangedSftBox.SelectedItemChanged, SftBox.SelectionCommitted, SftBox.SelectedValueChanged
Text, TextUpdate, MaxLength, SelectedText, SelectionStart, SelectionLength, Select, SelectAllThe same names, and SftBox.EditTextChanged
FindString, FindStringExactSftBox.FindItem, with a column and a search mode
AutoCompleteMode, AutoCompleteSource, AutoCompleteCustomSourceSftBox.SearchMode (SearchModeEnum, including Contains and Filter), and the same three properties for the text completion of Windows
DroppedDown, DropDownWidth, DropDownHeight, MaxDropDownItems, IntegralHeightSftBox.DroppedDown, SftBox.DropDownWidthMode, SftBox.DropDownWidth, SftBox.DropDownItems (whole items), SftBox.DropDownResizable
DropDown, DropDownClosedSftBox.DropDownOpening, SftBox.DropDownOpened, SftBox.DropDownClosed
DataSource, DisplayMember, ValueMemberThe same names, and the column members and hierarchy of the list (see Data Binding)
FormatString, FormatInfo, FormattingEnabled, FormatColumnClass.DataFormat, ListClass.DataFormatInfo and the ListClass.ItemDataBound event
SortedThe sorting of the list (ItemCollectionClass.Sort), by any column, ascending or descending, with sort indicators in the column headers
FlatStyleSftBox.BorderStyle and Windows themes
DrawMode, DrawItem, MeasureItem, ItemHeightNo owner-draw events. What owner drawing is used for is built in: images, color samples, fonts in their own font, multiple columns, check boxes, progress bars, multi-line text and items of different heights.