Populer Topics

ListBox Control

The list box control is used to create a single or multi selection drop down list each selectable items in a list box control is define by list item element.

This control support data binding the list box has more some power in compare to dropdown control. Using list box we can select the more item from the given list box.

List box control supports the following property.

Property Description
SelectedIndex

It will return the index of selected item.

Items

It will used to specified list of items from list control.

SelectedItem

This is runtime property which is used to know the value of currently selected item.

SelectedValue

Get the value of the selected item in the control or select the item in this control that contains the specified value.

Rows

The no of rows display in the list.

SelectionMode

Allows the single or multiple selection.