Todo List
TComponent | --TControl | --TWebControl | --TListControl | --TListBox
TListBox create a list box that allows single or multiple selection.
Namespace: System.Web.UI.WebControls
Properties
<com:TListBox SelectionMode="Multiple"> <com:TListItem Text="item1" Value="value1" /> <com:TListItem Text="item2" Value="value2" /> <com:TListItem Text="item3" Value="value3" /> </com:TListBox>
TListBox __construct( )
ArrayObject getAttributesToRender( )
This method overrides the parent's implementation to add checking for rows and the multiple flag.
integer getRows( )
integer getSelectedIndex( )
TListItem|null getSelectedItem( )
string getSelectedValue( )
string getSelectionMode( )
string renderBody( )
void setRows( integer $value)
void setSelectedIndex( integer $index, [mixed $clear = true])
void setSelectedValue( string $value)
void setSelectionMode( string $value)