Spread Windows Forms 10.0 Product Documentation
Paint Event (DisplayField)


Occurs when the display field is redrawn.
Syntax
'Declaration
 
Public Event Paint As PaintEventHandler
'Usage
 
Dim instance As DisplayField
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.  
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

DisplayField Class
DisplayField Members

 

 


Copyright © GrapeCity, inc. All rights reserved.