Spread Windows Forms 8.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
ClipRectangle Gets the rectangle in which to paint.
Graphics Gets 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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

Field Class
Field Members

 

 


Copyright © GrapeCity, inc. All rights reserved.