A combo box control for Windows Forms whose list is a multi-column tree: columns with headers and footers, a hierarchy with expand/collapse buttons, images, check boxes, row numbers and more. Simple, DropDown and DropDownList styles, searching as the user types with prefix, exact, auto-complete, contains and filter modes, placeholder text and a Clear button, a resizable dropdown, font lists, and data binding with DisplayMember, ValueMember, SelectedValue and a hierarchy from keys or child lists. It covers all functions of the Windows Forms ComboBox control. Version 3.0 runs on the .NET Framework and on .NET 10, with Visual Studio designer support on both, and supports dark mode, per-monitor high-DPI scaling and screen readers.
SftBox/NET is a combo box control for Windows Forms whose dropdown list is a full tree control: columns with headers, images, a hierarchy with expand/collapse buttons, check boxes, row numbers and more, searched as the user types. At home on .NET 10 and on modern Windows.
It covers all functions of the Windows Forms ComboBox control and adds what it lacks: multiple columns, grouped items, search modes up to a filter that shows only the matching items, a placeholder and a Clear button, a dropdown the user can resize, font lists, data binding with a hierarchy, and dark mode. Version 3.0 runs on the .NET Framework and on .NET 10, with the Visual Studio designer on both.
Coming from the Windows Forms ComboBox? See how it compares with SftBox/NET and where each of its functions is found.
[v]
Simple, DropDown and DropDownList styles. A DropDownList combo box shows the selected item as the list shows it, with all its columns and images.
|||
The list shows as many columns as your data needs, with column headers and footers, grid lines and sorting.
+-
Items grouped under expandable parents, with expand/collapse buttons, tree lines and item images, as in a tree control.
Ab
Prefix, exact, auto-complete or contains searches, or a filter that shows only the matching items with their parent items.
[=]
Aligned with either edge of the control, opening above or below it, as wide as all columns, and resizable by the user.
{ }
DisplayMember and ValueMember, and a SelectedValue property that can be bound as a lookup field.
Screenshots
The demo sample shows combo boxes with columns, a hierarchy, a font list, a filtered search, a lookup bound to a data source and a Simple style list with check boxes and row numbers, with options for the search mode, the dropdown, dark mode and high contrast.
.NET Framework and .NET 10
SftBox/NET 3.0 runs in .NET Framework 4.7 (or later) applications and in .NET 10 (or later) Windows Forms applications, with the same classes, properties, methods and events on both. .NET projects reference the Softelvdm.SftBoxNET NuGet package from the package source Setup registers; .NET Framework projects reference the assembly directly. In both, Visual Studio's designer hosts the control: place it from the toolbox, edit it in the Properties window, and set up the combo box and its list in the property pages.
Built for modern Windows
Version 3.0 follows the system's choices, so your forms do too.
Set one property and the combo box follows the Windows light/dark setting, dropdown included, switching when the user changes it.
The combo box and its dropdown are sized for the DPI of the monitor showing them.
Built-in UI Automation support makes the combo box and its list available to Narrator, NVDA, JAWS and others.
Honors the Windows contrast theme at your option, as Microsoft's accessibility guidelines require.
Development
Platforms
Compatibility
Distribution
Save with the bundle
SftBox/NET 3.0, SftDate/NET 3.0, SftTabs/NET 3.0 and SftTree/NET 3.0 in one hugely discounted bundle.