mx.controls
Class
List
Direct Known Subclasses
mx.controls.DataGrid, mx.controls.Tree
class
List
extends mx.controls.listclasses.ScrollSelectListThe List control displays a vertical list of single-line items. Its functionality is very similar to that of the SELECT form element in HTML. It usually contains a vertical scroll bar, used to access all items in the list. An optional horizontal scroll bar lets users view items when the full width of the list items is unlikely to fit. The user can select one or more items from the list.
MXML Syntax
The <mx:List> tag inherits all the properties of its parent classes, and the following properties:
<mx:List
alternatingRowColors="No default."
rollOverColor="No default."
selectionColor="No default."
selectionEasing="No default."
change="Event handler; no default."
itemRollOver="Event handler; no default."
itemRollOut="Event handler; no default."
scroll="Event handler; no default."
/>
See Also
mx.controls.listclasses.ScrollSelectList;
static | version:String
ComponentVersion is for internal use only. |
| dataProvider:Object
Array of simple types or objects to populate the List control. |
alternatingRowColors |
Type: Array
CSS Inheritance: yes
Colors for rows in an alternating pattern. Value can be an array of two of more colors. |
rollOverColor |
Type: Number
Format: Color
CSS Inheritance: yes
Color of the background when the user rolls over the link. The default value is #0EFFD6. |
selectionColor |
Type: Number
Format: Color
CSS Inheritance: yes
Color of the background when the user selects the link. The default value is #0DFFC1. |
selectionEasing |
Type: String
CSS Inheritance: no
Reference to an easing equation (function) used for controlling programmating tweening. |
textDisabledColor |
Type: Number
Format: Color
CSS Inheritance: yes
The default value is #0FFFFF. |
textRollOverColor |
Type: Number
Format: Color
CSS Inheritance: yes
The default value is #02B333C. |
textSelectedColor |
Type: Number
Format: Color
CSS Inheritance: yes
The default value is #005F33. |
dataProvider
dataProvider:Object
Array of simple types or objects to populate the List control.
version
static version:String
ComponentVersion is for internal use only.