Spread Windows Forms 9.0 Product Documentation
Paint Event (Field)


Occurs when the field is redrawn.
Syntax
'Declaration
 
Public Event Paint As PaintEventHandler
'Usage
 
Dim instance As Field
Dim handler As PaintEventHandler
 
AddHandler instance.Paint, handler
public event PaintEventHandler Paint
Event Data

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

PropertyDescription
ClipRectangleGets the rectangle in which to paint.  
GraphicsGets the graphics used to paint.  
Remarks
This event is raised when the Field refreshed.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Field Class
Field Members

 

 


Copyright © GrapeCity, inc. All rights reserved.