| Name |
Description |
AutoPostBack
|
Bool. Gets or sets a value indicating whether the page will be posted back to the server when the selected item is changed. Default: false
See also working example.
|
ClientSideEvents
|
ListBoxClientSideEvents. Property used to define the Client-Side Events.
See also working example.
|
CssSettings
|
ListBoxCssSettings. Property used to define the CSS Settings.
|
DataSource
|
Object. Gets or sets the object from which the ListBox retrieves its list of data items.
|
DataSourceID
|
Object. Gets or sets the ID of the control from which the ListBox retrieves its list of data items.
|
DataTextField
|
String. Gets or sets the field of the data source that provides the text content of the list items.
|
DataValueField
|
String. Gets or sets the field of the data source that provides the value of each list item.
|
Details
|
ListBoxDetailCollection. Collection containing the detail for a master ListBox.
|
Enabled
|
Bool. Gets or sets a value indicating whether the ListBox control is enabled.
See also working example.
|
EnableLoadOnDemand
|
Bool. Gets or sets a value indicating whether the on demand loading feature is enabled. Default: false
See also working example.
|
EnableVirtualScrolling
|
Bool. Gets or sets a value indicating whether items are loaded on demand when the ListBox control is scrolled. Default: false
See also working example.
|
Focused
|
Bool. Gets or sets a value indicating whether the ListBox will be focused when the page is loaded. Default: false
|
FolderStyle
|
String. The folder containing the css stylesheet used by the control.
See also working example.
|
FooterTemplate
|
ITemplate. The template used for the footer of the ListBox.
|
HeaderTemplate
|
ITemplate. The template used for the header of the ListBox.
|
Height
|
Unit. Gets or sets the height of the ListBox control.
See also working example.
|
ID
|
String. Gets or sets the programmatic identifier assigned to the ListBox control.
|
Items
|
ListBoxItemCollection. Gets the collection of items in the list.
|
ItemTemplate
|
ITemplate. The template to be used for the items of the ListBox.
See also working example.
|
LoadingText
|
String. Gets or sets the text that is displayed while the ListBox loads its items on demand.
See also working example.
|
SelectedIndex
|
Int. Gets or sets a value indicating the selected index. Default: -1
See also working example.
|
SelectedText
|
String. Gets or sets the selected text of the ListBox.
See also working example.
|
SelectedValue
|
String. Gets or sets the selected value of the ListBox.
See also working example.
|
SelectionMode
|
ListSelectionMode. Gets or sets a value indicating the selection mode used by the ListBox. Default: ListSelectionMode.Single
See also working example.
|
Visible
|
Bool. Gets or sets a value that indicates whether the ListBox is rendered as UI on the page. Default: true
|
Width
|
Unit. Gets or sets the width of the ListBox control. Default: 150px
See also working example.
|