Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Windows Forms CheckedListBox control extends the ListBox control. It does almost everything that a list box does and also can display a check mark next to items in the list. Other differences between the two controls are that checked list boxes only support System.Windows.Forms.DrawMode.Normal; and that checked list boxes can only have one item or none selected. Note that a selected item appears highlighted on the form and is not the same as a checked item.
Checked list boxes can have items added at run time using the String Collection Editor or their items can added dynamically from a collection at run time, using the Items property. For more information, see How to: Add and Remove Items from a Windows Forms ComboBox, ListBox, or CheckedListBox Control.
See Also
Tasks
How to: Determine Checked Items in the Windows Forms CheckedListBox Control
Reference
CheckedListBox Class
ListBox Control Overview (Windows Forms)
CheckedListBox.Items Property
ListControl.DataSource Property