Link Search Menu Expand Document

FlexData.BgColor Property

Specifies the initial value of the cell background color. If the default value is $STD, the display color will be different for each class derived from FlexData.

The value of the BgColor property is used as the initial value for the background color of each cell generated by the FlexView.InsertRow method. You can also change the background color of cells in all existing rows at once by updating the BgColor property.

To update the value of a particular cell, get the FlexRow object in the row you want to change and set the BgColor property of the FlexCell object that will be placed as a child object of FlexRow with the same name as the FlexItem object in the column you want to change.