System.Windows.Forms.DrawListViewSubItemEventArgs.Item Property

Gets the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.

Syntax

public ListViewItem Item { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to access the System.Windows.Forms.ListViewItem parent of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw. This is useful when the DrawListViewSubItemEventArgs.ItemState property does not provide adequate information to meet your needs. The DrawListViewSubItemEventArgs.ItemState property provides only basic state information that you can use, for example, to determine whether the parent item is selected, checked, or focused. The DrawListViewSubItemEventArgs.Item property, on the other hand, allows you to access all members of the parent System.Windows.Forms.ListViewItem.

To access the System.Windows.Forms.ListViewItem.ListViewSubItem being drawn, use the DrawListViewSubItemEventArgs.SubItem property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0