Nevron.UI.WinForm.Controls Namespace / NListView Class / DrawColumnHeader Event


In This Topic
    DrawColumnHeader Event
    In This Topic
    Syntax
    '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.

    PropertyDescription
    Gets the background color of the header.  
    Gets the size and location of the column header to draw.  
    Gets the index of the System.Windows.Forms.ColumnHeader representing the header to draw.  
    Gets or sets a value indicating whether the column header should be drawn by the operating system instead of owner-drawn.  
    Gets the font used to draw the column header text.  
    Gets the foreground color of the header.  
    Gets the System.Drawing.Graphics used to draw the column header.  
    Gets the System.Windows.Forms.ColumnHeader representing the column header to draw.  
    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