System.Windows.Forms.DrawListViewItemEventArgs.DrawBackground Method

Draws the background of the System.Windows.Forms.ListViewItem using its current background color.

Syntax

public void DrawBackground ()

Remarks

Use this method to draw a standard background that uses the current value of the ListViewItem.BackColor property. The background is drawn to fill the area specified by the DrawListViewItemEventArgs.Bounds property.

Requirements

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