'Declaration Public Function New( _ ByVal graphics As Graphics, _ ByVal clientPosition As Point, _ ByVal clientRectangle As Rectangle, _ ByVal displayRectangle As Rectangle, _ ByVal displayVisualStyle As StatelessVisualGridElementStyle, _ ByVal bottomBorderWidth As Integer, _ ByVal printing As Boolean _ )
'Usage Dim graphics As Graphics Dim clientPosition As Point Dim clientRectangle As Rectangle Dim displayRectangle As Rectangle Dim displayVisualStyle As StatelessVisualGridElementStyle Dim bottomBorderWidth As Integer Dim printing As Boolean Dim instance As New GridPaintEventArgs(graphics, clientPosition, clientRectangle, displayRectangle, displayVisualStyle, bottomBorderWidth, printing)
public GridPaintEventArgs( Graphics graphics, Point clientPosition, Rectangle clientRectangle, Rectangle displayRectangle, StatelessVisualGridElementStyle displayVisualStyle, int bottomBorderWidth, bool printing )
Parameters
- graphics
- The Graphics object used to paint.
- clientPosition
- The position of the grid's ClientRectangle in grid coordinates.
- clientRectangle
- The client rectangle of the grid element. The rectangle represents the visible portion of the grid element and is in client coordinates. The X and Y coordinates are always 0,0.
- displayRectangle
- The display rectangle of the grid element. The rectangle is in client coordinates and the X and Y coordinates can be negative if the grid is scrolled.
- displayVisualStyle
- A StatelessVisualGridElementStyle object representing the stateless style of the VisualGridElement.
- bottomBorderWidth
- The width needed to draw the bottom border (if one is required) of the DetailGrid objects.
- printing
- Indicates whether the element is being printed.