Skip to main content

TdxSpreadSheetCustomBrush.BackgroundColor Property

Specifies the underlying (i.e., base or background) color of the brush.

Declaration

property BackgroundColor: TColor read; write;

Property Value

Type
TColor

Remarks

The actual brush appearance is determined both by its base color, and both the style and color of the pattern painted over it. Use the BackgroundColor property to specify the base brush color.

The brush’s BackgroundColor property is initialized with clDefault, which corresponds to the clWhite value in the default cell style.

To allow end-users to change the background color in the currently selected cells, you can link the ChangeFillColor command to an element of your UI.

See Also