[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.BaseHeaderFlatStyleRenderer.PaintCell

PaintCell Method

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

Paints the 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 header cell

Rectangle r

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

Appearance appearance

Appearance settings of the header cell

object value

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

bool isSelected

Whether the header cell is selected

bool isLocked

Whether the header cell is locked

float zoomFactor

Numeric value for scaling the display of the header cell

Overrides
Implements