The ListControl class serves as a base class for two Windows controls – ListBox and ComboBox. Figure 9.21 shows the ListControl class and its derived classes (CheckedlistBox will be covered later in this chapter as an extension of this class of controls).
Let’s look briefly at the main properties, methods, and events of the ListControl class:
DisplayMember This String property indicates which property of the object to show if the list control contains objects that support properties.
SelectedIndex This Integer property indicates the zero-based index of the selected ...