Nevron.UI.WinForm.Controls Namespace / NCommand Class / Paint Event


In This Topic
    Paint Event (NCommand)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DescriptionAttribute("Fired when the NCommand needs painting (works only if the "OwnPaint" flag is set to true).")>
    Public Event Paint As DrawCommandEventHandler
    'Usage
     
    
    Dim instance As NCommand
    Dim handler As DrawCommandEventHandler
     
    AddHandler instance.Paint, handler
    [System.ComponentModel.Description("Fired when the NCommand needs painting (works only if the "OwnPaint" flag is set to true).")]
    public event DrawCommandEventHandler Paint
    Event Data

    The event handler receives an argument of type DrawCommandEventArgs containing data related to this event. The following DrawCommandEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from Nevron.UI.WinForm.Controls.CommandEventArgs)
     
    (Inherited from Nevron.UI.WinForm.Controls.CommandEventArgs)
    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