Skip to main content
Row

Table.ShowTableStyleRowStripes Property

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

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

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 snippet (auto-collected from DevExpress Examples) contains a reference 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