Table.ShowTableStyleRowStripes Property
Indicates whether alternate shading should be applied to the table rows.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v20.2.Core.dll
Declaration
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.