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.
| ComboBox | SftBox/NET |
|---|---|
| DropDownStyle | SftBox.Style (BoxStyleEnum) |
| Items, BeginUpdate, EndUpdate | SftBox.Items, the list's items (ItemCollectionClass), and the list's Initializing property (SftBox.List.Initializing) |
| SelectedIndex, SelectedItem, SelectedValue | SftBox.SelectedItem (an ItemClass), SftBox.SelectedDataItem, SftBox.SelectedValue |
| SelectedIndexChanged, SelectionChangeCommitted, SelectedValueChanged | SftBox.SelectedItemChanged, SftBox.SelectionCommitted, SftBox.SelectedValueChanged |
| Text, TextUpdate, MaxLength, SelectedText, SelectionStart, SelectionLength, Select, SelectAll | The same names, and SftBox.EditTextChanged |
| FindString, FindStringExact | SftBox.FindItem, with a column and a search mode |
| AutoCompleteMode, AutoCompleteSource, AutoCompleteCustomSource | SftBox.SearchMode (SearchModeEnum, including Contains and Filter), and the same three properties for the text completion of Windows |
| DroppedDown, DropDownWidth, DropDownHeight, MaxDropDownItems, IntegralHeight | SftBox.DroppedDown, SftBox.DropDownWidthMode, SftBox.DropDownWidth, SftBox.DropDownItems (whole items), SftBox.DropDownResizable |
| DropDown, DropDownClosed | SftBox.DropDownOpening, SftBox.DropDownOpened, SftBox.DropDownClosed |
| DataSource, DisplayMember, ValueMember | The same names, and the column members and hierarchy of the list (see Data Binding) |
| FormatString, FormatInfo, FormattingEnabled, Format | ColumnClass.DataFormat, ListClass.DataFormatInfo and the ListClass.ItemDataBound event |
| Sorted | The sorting of the list (ItemCollectionClass.Sort), by any column, ascending or descending, with sort indicators in the column headers |
| FlatStyle | SftBox.BorderStyle and Windows themes |
| DrawMode, DrawItem, MeasureItem, ItemHeight | No 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. |