Skip to content

GridStyle enumeration

namespace: Serenity.ComponentModel   assembly: Serenity.Net.Core

What a grid hides of the look its theme gives to grids, like the stripes of its rows, so it looks more like a plain table. The members are flags, so they can be combined. A grid that has none of them, or has no style, looks as the theme says.

[Flags]
public enum GridStyle

Values

name value description
NoStripes 0x1 The rows are not striped, which is only a change for a theme that stripes them.
NoCellBorders 0x2 There are no lines between the rows.
NoHeaderChrome 0x4 The header is plain, without a background, a shadow, a top border, separators between the columns or menu buttons that are always visible.
Lines 0x5 A plain header, and lines between the rows without stripes.
Plain 0x7 None of the stripes, the lines between the rows and the chrome of the header, so the grid looks like a plain table.

See Also