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


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

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

    PropertyDescription
    Gets the size and location of the System.Windows.Forms.ListViewItem to draw.  
    Gets or sets a property indicating whether the System.Windows.Forms.ListView control will use the default drawing for the System.Windows.Forms.ListViewItem.  
    Gets the System.Drawing.Graphics used to draw the System.Windows.Forms.ListViewItem.  
    Gets the System.Windows.Forms.ListViewItem to draw.  
    Gets the index of the System.Windows.Forms.ListViewItem within the System.Windows.Forms.ListView.Items collection of the containing System.Windows.Forms.ListView.  
    Gets the current state of the System.Windows.Forms.ListViewItem 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