'Declaration Public Function New( _ ByVal cell As Cell, _ 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 cell As Cell 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 CellViewerPaintEventArgs(cell, graphics, clientPosition, clientRectangle, displayRectangle, displayVisualStyle, bottomBorderWidth, printing)
public CellViewerPaintEventArgs( Cell cell, Graphics graphics, Point clientPosition, Rectangle clientRectangle, Rectangle displayRectangle, StatelessVisualGridElementStyle displayVisualStyle, int bottomBorderWidth, bool printing )
Parameters
- cell
- The Xceed.Grid.Cell for which the viewer provides custom painting.
- graphics
- The System.Drawing.Graphics object used to paint.
- clientPosition
- The Xceed.Grid.VisualGridElement.ClientPosition of the cell.
- clientRectangle
- The Xceed.Grid.VisualGridElement.ClientRectangle of the cell.
- displayRectangle
- The Xceed.Grid.VisualGridElement.DisplayRectangle of the cell.
- displayVisualStyle
- The Xceed.Grid.StatelessVisualGridElementStyle of the cell.
- bottomBorderWidth
- The width, in pixels, of the cell's bottom border.
- printing
- true if the viewer is being printed; false otherwise.