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

Sets the specified subitem's background 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 SetSubItemBackColor( _
   ByVal index As Integer, _
   ByVal value As Color _
)
[C#]
public virtual void SetSubItemBackColor(
   int index,
   Color value
);
[C++]
public: virtual void SetSubItemBackColor(
   int index,
   Color value
);
[JScript]
public function SetSubItemBackColor(
   index : int,
   value : Color
);

Parameters

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

See Also

ListItem Class | ListItem Members | System.WinForms Namespace