New to Telerik UI for WinFormsStart a free 30-day trial

Event arguments used in the CellPainting event.

Definition

Constructors

Event arguments used in the CellPainting event.

C#
public HeatMapCellPaintingEventArgs(CellIndex cellIndex, Graphics graphics, RectangleF bounds, Color backColor, Color foreColor, Color borderColor, int borderWidth, Font font, string text, ContentAlignment textAlignment, StringFormatFlags formatFlags, StringTrimming trimming)
Parameters:cellIndexCellIndex

The cell index.

graphicsGraphics

The graphics object.

boundsRectangleF

The cell bounds.

backColorColor

The cell background color.

foreColorColor

The cell foreground color.

borderColorColor

The cell border color.

borderWidthint

The border width.

fontFont

The cell font.

textstring

The cell text.

textAlignmentContentAlignment

The text alignment.

formatFlagsStringFormatFlags

The format flags.

trimmingStringTrimming

The string trimming.