ITabFootnotes.BackgroundBrush

Syntax

BackgroundBrush: IGxBrush;

Description

The BackgroundBrush property determines a brush that is used to fill the footnote panel background.

Comments

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

Footnote panel is used in various tools of Foresight Analytics Platform, the following properties give access to its settings:

The footnote panel also implements the TabFootnotesBox development environment component.

Example

Executing the example requires a form with the Button1 button, the UiTabSheet component named UiTabSheet1 and the TabFootnotesBox component for which UiTabSheet1 is set as a data source. Add a link to the Drawing system assembly.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    TabSheet: ITabSheet;
    Footnotes: ITabFootnotes;
    Footnote: ITabFootnote;
Begin
    TabSheet := UiTabSheet1.TabSheet;
    Footnotes := TabSheet.Footnotes;
    //Gradient from white to azure down the component
    Footnotes.BackgroundBrush := New GxLinearGradientBrush.Create(
        GxColor.FromKnownColor(GxKnownColor.White),
        GxColor.FromKnownColor(GxKnownColor.DarkGray),
        90);
    //New footnote
    Footnote := Footnotes.Add(00);
    Footnote.Text := "Average value";
End Sub Button1OnClick;

Clicking the button adds one footnote to the collection of table footnotes and gradient background will be set for footnote panel. The TabFootnotesBox component will looks as follows:

See also:

ITabFootnotes