Skip to main content
.NET Framework 4.5.2+
Row

Table.ShowTableStyleRowStripes Property

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

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v22.1.Core.dll

Declaration

bool ShowTableStyleRowStripes { get; set; }

Property Value

Type Description
Boolean

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

Remarks

To apply banding to rows in a table, set the ShowTableStyleRowStripes property to true and the Table.ShowTableStyleColumnStripes property to false. This formatting is used in tables by default.

To change the format of alternate row stripes, modify the TableStyleElementType.FirstRowStripe and TableStyleElementType.SecondRowStripe 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 rows to be displayed as odd and even row stripes. You can also specify the borders (TableStyleElement.Borders), background color (TableStyleElement.Fill) and font (TableStyleElement.Font) of row stripes.

SpreadsheetControl_Table_ShowTableStyleRowStripes

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowTableStyleRowStripes 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