イベント ハンドラが、このイベントに関連するデータを含む、DrawItemEventArgs 型の引数を受け取りました。次の DrawItemEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|
BackColor | Gets the background color of the item that is being drawn. |
Bounds | Gets the rectangle that represents the bounds of the item that is being drawn. |
Font | Gets the font that is assigned to the item being drawn. |
ForeColor | Gets the foreground color of the of the item being drawn. |
Graphics | Gets the graphics surface to draw the item on. |
Index | Gets the index value of the item that is being drawn. |
State | Gets the state of the item being drawn. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2