Spread Windows Forms 9.0 Product Documentation
OnPaint Method (ElementControl)


Raises the Paint event when the element has been asked to repaint itself.
Paints the control (text and picture).
Overload List
OverloadDescription
OnPaint(Graphics,Rectangle,ElementStyle)Paints the control (both text and picture) with an overriding style.  
OnPaint(Graphics,Rectangle)Paints the control (text and picture).  
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

ElementControl Class
ElementControl Members
OnPaintBackground Method

 

 


Copyright © GrapeCity, inc. All rights reserved.