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

TdxSpreadSheetCustomView.Caption Property

Specifies the worksheet‘s caption (name).

#Declaration

Delphi
property Caption: string read; write;

#Property Value

Type
string

#Remarks

Captions are displayed on worksheet tabs located within the caption bar area:

The maximum length of the Caption property value cannot exceed the number of characters specified by the dxSpreadSheetMaxCaptionLength global constant value. If the new worksheet caption specified as the ACaption parameter of the Spreadsheet control’s AddSheet function or by using the Rename Sheet dialog has more characters than allowed, the “excessive” tailing characters are truncated. If the resulting truncated name matches another worksheet’s caption, one or more of its tailing characters are replaced with numbers.

Refer to the Rename a Worksheet and Add and Delete Sheets for more information.

See Also