ITabCellStyle.BackgroundBrush

Syntax

BackgroundBrush: IGxBrush;

Description

The BackgroundBrush determines the brush that is used to fill cell background.

Comments

The instance of one of the following classes can be specified as the property value:

Example

Executing the example requires a form with the Button1 button located on it, the TabSheetBox component named TabSheetBox1 and the UiErAnalyzer component which is set to express report and used as a data source for the TabSheetBox component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Selection: ITabRange;
    Style: ITabCellStyle;
Begin
    Selection := TabSheetBox1.Source.GetTabSheet.View.Selection.Range;
    Style := Selection.Style;
    Style.BackgroundBrush := New GxSolidBrush.Create(GxColor.FromName("Green"));
End Sub Button1OnClick;

Clicking the button changes the background image style for the cells selected in TabSheetBox1, that is, background is filled with green.

See also:

ITabCellStyle