Skip to main content

TdxSpreadSheetStyles Class

Stores the Styles settings applied to various visual elements of the Spreadsheet and Report Designer controls.

Declaration

TdxSpreadSheetStyles = class(
    TcxStyles
)

Remarks

This class implements the Styles functionality in spreadsheet controls.

The TdxSpreadSheetStyles class extends its ancestor with members:

Functionality Description

Implemented in the Class as

Examples

Allows you to either assign a specific color to the View‘s background, or obtain the current background style information.

The Background property and the GetBackgroundStyle function.

Allows you to set the required colors as the default colors for displaying the cell content and the default cell background. Also, you can obtain the current content style settings applied to the specified worksheet.

The Content property and the GetContentStyle function.

Allows you to customize the settings of the font used to display worksheet names on sheet tabs within the caption bar. Additionally, you can extract the current caption bar style settings.

The PageControl property and the GetPageControlStyle function.

Allows you to customize the appearance of the worksheet headers. Also, you can obtain the current header style settings applied to the specified worksheet.

The Header property and the GetHeaderStyle function.

Allows you to change the color of both the cell selector rectangle and selected cell ranges. The only color difference between these visual elements is the alpha level.

Additionally, you can extract the current style settings of the selector rectangle and selected cell ranges.

The Selection property and the GetSelectionStyle function.

Allows you to identify the Spreadsheet Control instance to which the TdxSpreadSheetStyles object belongs.

The SpreadSheet property.

The control’s Styles property references a TdxSpreadSheetStyles object.

See Also