Spread Windows Forms 7.0 Product Documentation
Paint Event
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > Field Class : Paint Event


Glossary Item Box

Occurs when the field is redrawn.

Syntax

Visual Basic (Declaration) 
Public Event Paint As PaintEventHandler
Visual Basic (Usage)Copy Code
Dim instance As Field
Dim handler As PaintEventHandler
 
AddHandler instance.Paint, handler
C# 
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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.