[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridRenderer

C1FlexGridRenderer Class

Represents an abstract base class for custom grid renderers.

Inheritance
C1FlexGridRenderer
Namespace: C1.Win.C1FlexGrid
Assembly: C1.Win.C1FlexGrid.4.8.dll
Syntax
public abstract class C1FlexGridRenderer
Remarks

To create custom grid renderers, inherit from this class, override the appropriate virtual methods and properties, and assign an instance of your class to the grid's Renderer property.

Constructors

Name Description
C1FlexGridRenderer()

Properties

Name Description
HeaderForeColor

Gets the foreground color of header cells in the normal state.

TracksMouse

Gets a value that determines whether this renderer renders hot cells differently than normal cells.

TracksSelection

Gets a value that determines whether this renderer tracks the selection to paint highlighted column and row headers.

Methods

Name Description
GetBackgroundBrush(C1FlexGridBase, CellType, Rectangle)

Gets a Brush object used to paint the cell background for a specific cell type.

GetBorderPen(CellType)

Gets a Pen object used to paint the cell borders.

OnDrawCell(C1FlexGridBase, OwnerDrawCellEventArgs)

Draws a grid cell of any type.

OnDrawCell(C1FlexGridBase, OwnerDrawCellEventArgs, CellType)

Draws a single grid cell of a specific type.