Name
ListViewItem.ListViewSubItem
Synopsis
This class represents a subitem in ListView
. It is
similar to a ListViewItem
, but does not support
the ListViewItem.SubItems
property, and so it
represents a leaf item in the collection.
public class ListViewItem.ListViewSubItem { // Public Constructors public ListViewItem.ListViewSubItem(); public ListViewItem.ListViewSubItem(ListViewItem owner, string text); public ListViewItem.ListViewSubItem(ListViewItem owner, string text, System.Drawing.Color foreColor, System.Drawing.Color backColor, System.Drawing.Font font); // Public Instance Properties public Color BackColor{set; get; } public Font Font{set; get; } public Color ForeColor{set; get; } public string Text{set; get; } // Public Instance Methods public void ResetStyle(); public override string ToString(); // overrides object }
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.