ListItem
Object
A ListItem object represents an item in the ListItems collection of
a ListView control. It can consist of text, an icon and an array of strings
known as sub-items.
Client support
Newlook Smartclient only.
Use
A list item object can consist of text, an icon and an array of strings known as sub-items.
To use icons
you must associate an ImageList control via the Icon and/or StateIcons
and/or SmallIcon properties.
Properties
Newlook Smartclient |
Newlook Server |
Deprecated
|
Obsolete
BackColor
|
|
Determines the background color of the item.
|
Checked
|
|
Returns or sets whether the item is checked.
|
ForeColor
|
|
Determines the foreground color of the item.
|
Icon
|
|
Returns or sets the index of the Icon in the Icons collection
that will be displayed next to this item.
|
Key
|
|
Returns or sets a unique identifier for the item.
|
Selected
|
|
Returns or sets whether the item is selected.
|
SmallIcon
|
|
Returns or sets the index of the Icon in
the Icons collection
used in the List or Details view.
|
SubItems
|
|
An array of strings that are displayed as sub-items
in report view.
|
Tag
|
|
Store additional information about an object.
|
Text
|
|
Sets or returns the text associated with the ListItem.
|
Applies To
ListView Control
See Also
ListItems
property | ListItems collection
©
2004-2021 looksoftware.
All rights reserved.