![]() Gets or sets a value indicating whether the vertical scroll bar is shown at all times. Gets or sets a value indicating whether the list box supports multiple columns. Gets or sets the height of an item in the list box. Gets or sets the value indicating whether a horizontal scrollbar is displayed in the list box. ![]() Gets or sets the horizontal scrolling area of a list box. Gets of sets the width of columns in a multicolumn list box. Gets or sets the type of border drawn around the list box. Gets a value indicating whether the ListBox currently enables selection of list items. The following are some of the commonly used properties of the ListBox control − Sr.No. This opens the String Collection Editor dialog box, where you can enter the values one at a line. ![]() Click the ellipses (.) button next to the Items property. To add items to a ListBox, select the ListBox control and get to the properties window, for the properties of this control. You can populate the list box items either from the properties window or at runtime. Let's create a list box by dragging a ListBox control from the Toolbox and dropping it on the form. It allows the programmer to add items at design time by using the properties window or at the runtime. The ListBox represents a Windows control to display a list of items to a user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |