Back to Devexpress

TdxSpreadSheetCustomView.Caption Property

vcl-dxspreadsheetcore-dot-tdxspreadsheetcustomview-050cca4a.md

latest1.6 KB
Original Source

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

TdxSpreadSheetCustomView Class

TdxSpreadSheetCustomView Members

dxSpreadSheetCore Unit