The code for the example adds 50 items to the ListBox using the Add method of the ListBox.ObjectCollection class and then selects three items from the list using the SetSelected method. The following code example demonstrates how to create a ListBox control that displays multiple items in columns and can have more than one item selected in the control's list. Public class ListBox : type ListBox = classÄefaultBindingPropertyAttribute ClassInterfaceAttribute ComVisibleAttribute Examples In this article public ref class ListBox : System::Windows::Forms::ListControl public class ListBox : Represents a Windows control to display a list of items.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |