System.Windows.Forms.DrawItemEventArgs.DrawBackground Method

Draws the background within the bounds specified in the erload:System.Windows.Forms.DrawItemEventArgs.#ctor constructor and with the appropriate color.

Syntax

public virtual void DrawBackground ()

Remarks

If the item being drawn is DrawItemState.Selected, the background is drawn with the text highlighted.

Requirements

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