[]
        
(Showing Draft Content)

C1.Win.FlexGrid.OwnerDrawCellEventArgs.-ctor

OwnerDrawCellEventArgs Constructor

OwnerDrawCellEventArgs(C1FlexGridBase, Graphics, int, int, CellStyle, Rectangle, string, Image, DrawColorMode)

Initializes a new instance of the OwnerDrawCellEventArgs class.

Declaration
public OwnerDrawCellEventArgs(C1FlexGridBase view, Graphics graphics, int row, int col, CellStyle style, Rectangle bounds, string text, Image img, DrawColorMode colorMode = DrawColorMode.Color)
Parameters
Type Name Description
C1FlexGridBase view

The C1FlexGridBase control that contains the cell being painted.

Graphics graphics

The Graphics object where the cell will be painted.

int row

The row index of the cell being painted.

int col

The column index of the cell being painted.

CellStyle style

The CellStyle that will be used to paint the cell.

Rectangle bounds

The bounds of the cell being painted.

string text

The text that will be displayed in the cell.

Image img

The image that will be displayed in the cell.

DrawColorMode colorMode

Drawing color mode.