DrawListViewItemEventArgs.DrawBackground Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Draws the background of the ListViewItem using its current background color.

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

public void DrawBackground()

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 Bounds property.

.NET Framework
Available since 2.0
Return to top
Show: