CheckableTop
bool Checkable
Get or set whether item is checkable.
Show/Hide Code
<?php
...
$item = new ListBoxItem("Canada");
$item->Text = "Canada";
$item->Value = "canada";
$item->ToolTip = "Choose canada";
$item->ImageUrl = "images/canada.jpg";
$item->CssClass = "my_css_class";
$item->Selected = true;
$item->Checked = true;
$item->Checkable = false;
$listbox->AddItem($item);
...
?>
Supported from version: 1.0.0.0
CheckedTop
bool Checked
Get or set whether item is checked.
Show/Hide Code
<?php
...
$item = new ListBoxItem("Canada");
$item->Text = "Canada";
$item->Value = "canada";
$item->ToolTip = "Choose canada";
$item->ImageUrl = "images/canada.jpg";
$item->CssClass = "my_css_class";
$item->Selected = true;
$item->Checked = true;
$item->Checkable = false;
$listbox->AddItem($item);
...
?>
Supported from version: 1.0.0.0
DataTop
array Data
Get or set extra data for an item.
Show/Hide Code
<?php
...
$item = new ListBoxItem("Canada");
$item->Data = array("Population"=>"34,482,779");
$listbox->AddItem($item);
...
?>
Supported from version: 1.0.0.0
ImageUrlTop
string ImageUrl
Get or set the image url of an item.
Show/Hide Code
<?php
...
$item = new ListBoxItem("Canada");
$item->Text = "Canada";
$item->Value = "canada";
$item->ToolTip = "Choose canada";
$item->ImageUrl = "images/canada.jpg";
$item->CssClass = "my_css_class";
$item->Selected = true;
$item->Checked = true;
$item->Checkable = false;
$listbox->AddItem($item);
...
?>
Supported from version: 1.0.0.0
SelectedTop
bool Selected
Get or set whether item is selected.
Show/Hide Code
<?php
...
$item = new ListBoxItem("Canada");
$item->Text = "Canada";
$item->Value = "canada";
$item->ToolTip = "Choose canada";
$item->ImageUrl = "images/canada.jpg";
$item->CssClass = "my_css_class";
$item->Selected = true;
$item->Checked = true;
$item->Checkable = false;
$listbox->AddItem($item);
...
?>
Supported from version: 1.0.0.0
TextTop
string Text
Get or set the text of an item.
Show/Hide Code
<?php
...
$item = new ListBoxItem("Canada");
$item->Text = "Canada";
$item->Value = "canada";
$item->ToolTip = "Choose canada";
$item->ImageUrl = "images/canada.jpg";
$item->CssClass = "my_css_class";
$item->Selected = true;
$item->Checked = true;
$item->Checkable = false;
$listbox->AddItem($item);
...
?>
Supported from version: 1.0.0.0
ValueTop
string Value
Get or set the value of an item.
Show/Hide Code
<?php
...
$item = new ListBoxItem("Canada");
$item->Text = "Canada";
$item->Value = "canada";
$item->ToolTip = "Choose canada";
$item->ImageUrl = "images/canada.jpg";
$item->CssClass = "my_css_class";
$item->Selected = true;
$item->Checked = true;
$item->Checkable = false;
$listbox->AddItem($item);
...
?>
Supported from version: 1.0.0.0