Share via


DrawListViewItemEventArgs.DrawBackground 方法

定義

使用 ListViewItem 目前的背景色彩來繪製它的背景。

public:
 void DrawBackground();
public void DrawBackground ();
member this.DrawBackground : unit -> unit
Public Sub DrawBackground ()

備註

使用這個方法繪製使用屬性目前值 ListViewItem.BackColor 的標準背景。 繪製背景以填滿 屬性所 Bounds 指定的區域。

適用於

另請參閱