System.Windows.Forms.DrawListViewItemEventArgs.Item Property

Gets the System.Windows.Forms.ListViewItem 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 to draw. This is useful when the DrawListViewItemEventArgs.State property does not provide adequate information to meet your needs. The DrawListViewItemEventArgs.State property provides only basic state information that you can use, for example, to determine whether an item is selected, checked, or focused. The DrawListViewItemEventArgs.Item property, on the other hand, allows you to access all members of the System.Windows.Forms.ListViewItem. You must access the item directly, for example, to draw the ListViewItem.Text value yourself rather than using the erload:System.Windows.Forms.DrawListViewItemEventArgs.DrawText method.

Requirements

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