Skip to main content
Row

Table.ShowTableStyleColumnStripes Property

Indicates whether alternate shading should be applied to the table columns.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

bool ShowTableStyleColumnStripes { get; set; }

Property Value

Type Description
Boolean

true, to apply striped column formatting to the table; otherwise, false.

Remarks

To apply banding to columns in a table, set the ShowTableStyleColumnStripes property to true and the Table.ShowTableStyleRowStripes property to false.

To change the format of alternate column stripes, modify the TableStyleElementType.FirstColumnStripe and TableStyleElementType.SecondColumnStripe elements of the style applied to a table.

The TableStyleElement.StripeSize property of these table style elements allows you to specify the number of table columns to be displayed as odd and even column stripes. You can also specify the borders (TableStyleElement.Borders), background color (TableStyleElement.Fill) and font (TableStyleElement.Font) of column stripes.

SpreadsheetControl_Table_ShowTableStyleColumnStripes

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowTableStyleColumnStripes property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also