'Declaration
<SRCategoryAttribute("CatBehavior")> <SRDescriptionAttribute("ListViewDrawColumnHeaderEventDescr")> Public Event DrawColumnHeader As System.Windows.Forms.DrawListViewColumnHeaderEventHandler
'Usage
Dim instance As NListView Dim handler As System.Windows.Forms.DrawListViewColumnHeaderEventHandler AddHandler instance.DrawColumnHeader, handler
[SRCategory("CatBehavior")] [SRDescription("ListViewDrawColumnHeaderEventDescr")] public event System.Windows.Forms.DrawListViewColumnHeaderEventHandler DrawColumnHeader
Event Data
The event handler receives an argument of type System.Windows.Forms.DrawListViewColumnHeaderEventArgs containing data related to this event. The following DrawListViewColumnHeaderEventArgs properties provide information specific to this event.
Property | Description |
---|---|
BackColor | Gets the background color of the header. |
Bounds | Gets the size and location of the column header to draw. |
ColumnIndex | Gets the index of the System.Windows.Forms.ColumnHeader representing the header to draw. |
DrawDefault | Gets or sets a value indicating whether the column header should be drawn by the operating system instead of owner-drawn. |
Font | Gets the font used to draw the column header text. |
ForeColor | Gets the foreground color of the header. |
Graphics | Gets the System.Drawing.Graphics used to draw the column header. |
Header | Gets the System.Windows.Forms.ColumnHeader representing the column header to draw. |
State | Gets the current state of the column header. |
Requirements
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
See Also