ITabSheet.BackgroundPicture

Syntax

BackgroundPicture: IGxImage;

Description

The BackgroundPicture property determines a background image of the entire table.

Comments

Table background image is located in the very far part of the background. The background determined for the cells (ITabCellStyle.BackgroundBrush / ITabCellStyle.BackgroundPicture) will overlap the table background.

Example

Executing the example requires a form with the Button1 button placed on it, the TabSheetBox component named TabSheetBox1 and a data source for TabSheetBox1. Add links to the Drawing, Tab system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    TSheet: ITabSheet;
Begin
    TSheet := TabSheetBox1.Source.GetTabSheet;
    TSheet.BackgroundPicture := GxImage.FromFile("C:\Background.png");
End Sub Button1OnClick;

Clicking the button sets the image loaded from the specified file as a background for the entire table.

See also:

ITabSheet