Skip to main content

TdxSpreadSheetOptionsView.GridLines Property

Specifies if the Spreadsheet or Report Designer control displays gridlines in all worksheets.

Declaration

property GridLines: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

Gridlines visually separate individual cells in a worksheet. The GridLines property stores the control’s “global” gridlines visibility setting. The control displays gridlines in the active worksheet if one of the following conditions is met:

  • The GridLines property is set to True and the worksheet’s Options.GridLines property is set to bDefault;

  • The active worksheet’s Options.GridLines property is set to bTrue.

The Options.GridLines property values of individual worksheets within a spreadsheet document always have priority over the “global” GridLines property. For instance, if the worksheet’s Options.GridLines property is not set to bDefault, the GridLines property has no effect on the gridline visibility. Refer to the TdxSpreadSheetTableViewOptions.GridLines property description for additional information.

The default value of the GridLines property is True.

See Also