[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.GradientHeaderRenderer.PaintCell

PaintCell Method

PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)

Paints the column header cell when not in edit mode to the specified graphics interface with the specified appearance settings.

Declaration
public override void PaintCell(Graphics g, Rectangle r, Appearance appearance, object value, bool isSelected, bool isLocked, float zoomFactor)
Public Overrides Sub PaintCell(g As Graphics, r As Rectangle, appearance As Appearance, value As Object, isSelected As Boolean, isLocked As Boolean, zoomFactor As Single)
Parameters
Type Name Description
Graphics g

Graphics device interface for painting the column header cell

Rectangle r

Location and size of a rectangular region for painting the column header cell

Appearance appearance

Appearance settings of the column header cell

object value

Object that contains the name of the renderer control of the column header cell

bool isSelected

Whether the column header cell is selected

bool isLocked

Whether the column header cell is locked

float zoomFactor

Numeric value for scaling the display of the column header cell

Overrides