Represents the core class of listbox control, which derives from Control and is used to display and manipulate data, containing a list of selectable items.
The ListBox is a control that displays a collection of items. More than one item in a ListBox is visible at a time. Whether the ListBox allows multiple selections is set by using the SelectionMode property.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2