Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetStyles Class

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

#Declaration

Delphi
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