Spread Windows Forms 7.0 Product Documentation
FieldPaintEventArgs Constructor
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > FieldPaintEventArgs Class : FieldPaintEventArgs Constructor


graphics
The System.Drawing.Graphics object used to paint the item.
clipRectangle
The clipped System.Drawing.Rectangle that represents the rectangle in which to paint.
field
The Field which was painted.

Glossary Item Box

Initializes a new instance of the FieldPaintEventArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal graphics As Graphics, _
   ByVal clipRectangle As Rectangle, _
   ByVal field As Field _
)
Visual Basic (Usage)Copy Code
Dim graphics As Graphics
Dim clipRectangle As Rectangle
Dim field As Field
 
Dim instance As New FieldPaintEventArgs(graphics, clipRectangle, field)
C# 
public FieldPaintEventArgs( 
   Graphics graphics,
   Rectangle clipRectangle,
   Field field
)

Parameters

graphics
The System.Drawing.Graphics object used to paint the item.
clipRectangle
The clipped System.Drawing.Rectangle that represents the rectangle in which to paint.
field
The Field which was painted.

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.