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


In This Topic
    DrawSubItem Event
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatBehavior")>
    <SRDescriptionAttribute("ListViewDrawSubItemEventDescr")>
    Public Event DrawSubItem As System.Windows.Forms.DrawListViewSubItemEventHandler
    'Usage
     
    
    Dim instance As NListView
    Dim handler As System.Windows.Forms.DrawListViewSubItemEventHandler
     
    AddHandler instance.DrawSubItem, handler
    [SRCategory("CatBehavior")]
    [SRDescription("ListViewDrawSubItemEventDescr")]
    public event System.Windows.Forms.DrawListViewSubItemEventHandler DrawSubItem
    Event Data

    The event handler receives an argument of type System.Windows.Forms.DrawListViewSubItemEventArgs containing data related to this event. The following DrawListViewSubItemEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the size and location of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.  
    Gets the index of the System.Windows.Forms.ListView column in which the System.Windows.Forms.ListViewItem.ListViewSubItem is displayed.  
    Gets or sets a value indicating whether the System.Windows.Forms.ListViewItem.ListViewSubItem should be drawn by the operating system instead of owner-drawn.  
    Gets the System.Drawing.Graphics used to draw the System.Windows.Forms.ListViewItem.ListViewSubItem.  
    Gets the header of the System.Windows.Forms.ListView column in which the System.Windows.Forms.ListViewItem.ListViewSubItem is displayed.  
    Gets the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.  
    Gets the index of the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.  
    Gets the current state of the parent System.Windows.Forms.ListViewItem of the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.  
    Gets the System.Windows.Forms.ListViewItem.ListViewSubItem to draw.  
    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