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.SetSubItemForeColor

Sets the specified subitem's foreground color. Even if a SubItem has not been defined for this index, the color information will be stored correctly (though text will not be displayed in this color until an associated subitem text string has been defined).

[Visual Basic]
Overridable Public Sub SetSubItemForeColor( _
   ByVal index As Integer, _
   ByVal value As Color _
)
[C#]
public virtual void SetSubItemForeColor(
   int index,
   Color value
);
[C++]
public: virtual void SetSubItemForeColor(
   int index,
   Color value
);
[JScript]
public function SetSubItemForeColor(
   index : int,
   value : Color
);

Parameters

index
the index of the subitem to query
value
the new foreground color of that subitem, or null if it should be displayed using the ListView's global foreground color.

See Also

ListItem Class | ListItem Members | System.WinForms Namespace