CellBoxStyle

The "box" half of an AdaptableStyle: everything that paints the cell box (background colour and the border that wraps the cell).

Used as a Cell? slot on Styled Columns whose renderer paints into the cell content but leaves the cell chrome alone (Rating, Sparkline) so the column can opt-in to a tinted/bordered cell without inheriting other properties from a Format Column.

TypeScript
export interface

Properties

PropertyTypeDescription
BackColorstringColour background of cell: hex, rgb(a) or name
BorderColorstringColour of cell border: hex, rgb(a) or name
BorderRadiusnumberRounds corners of an element's outer border edge; equivalent of CSS border-radius

Property Details

BackColor

Colour background of cell: hex, rgb(a) or name

TypeScript
BackColor?: string;
Property Value

string

BorderColor

Colour of cell border: hex, rgb(a) or name

TypeScript
BorderColor?: string;
Property Value

string

BorderRadius

Rounds corners of an element's outer border edge; equivalent of CSS border-radius

TypeScript
BorderRadius?: number;
Property Value

number