Nevron .NET Vision Documentation
Paint Event (NCommand)


Fired when the NCommand needs painting (works only if the "OwnPaint" flag is set to true).
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
GraphicsGets the Graphics object to draw onto.  
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

Reference

NCommand Class
NCommand Members

Send Feedback