NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ListItem Properties

The properties of the ListItem class are listed below. For a complete list of ListItem class members, see the ListItem Members topic.

Public:

BackColor The font that this item will be displayed in. If its value is null, it will be displayed using the global font for the ListView control that hosts it.
Bounds Returns the ListItem's bounding rectangle, including subitems. The bounding rectangle is empty if the ListItem has not been added to a ListView control.
Checked [To be supplied.]
Extension Retrieves a filename extension to save this object's persistance data with.
Focused Returns the focus state of the ListItem.
ForeColor The font that this item will be displayed in. If its value is null, it will be displayed using the global font for the ListView control that hosts it.
ImageIndex Returns the ListItem's currently set image index
Index Returns ListItem's current index in the listview, or-1 if it has not been added to a ListView control.
ItemFont The font that this item will be displayed in. If its value is null, it will be displayed using the global font for the ListView control that hosts it.
ListView Returns the ListView control that holds this ListItem. May be null if no control has been assigned yet.
RowItems Treats the ListItem as a row of strings, and returns an array of those strings
Selected [To be supplied.]
StateImageIndex [To be supplied.]
SubItems [To be supplied.]
Text Text associated with this ListItem
UseItemStyleForSubItems Whether or not the font and coloring for the ListItem will be used for all of its subitems. If true, the ListItem style will be used when drawing the subitems. If false, the ListItem and its subitems will be drawn in their own individual styles if any have been set.

See Also

ListItem Class | System.WinForms Namespace