VegaRise.NET
Back to DOM

TableLookClass

Definition

Namespace
DOM.Styles
Assembly
DOM.dll

Describes which visual/table-layout features should be applied to a table.

Remarks

is a lightweight container of flags that control common table presentation behaviours such as header/footer styling (first/last row/column) and banding (alternating row/column fills). Properties are nullable so callers can distinguish between "unspecified" () and an explicit / decision — allowing style inheritance or document defaults to be applied when a flag is not set. TableLook null true false Table look flags are configured through . TableLook

Examples

csharp
1// 1. Header row with horizontal banding
2var look = new TableLook
3{
4 FirstRow = true,
5 NoHorizontalBand = false
6};
7
csharp
1// 2. Header + totals row
2var look = new TableLook
3{
4 FirstRow = true,
5 LastRow = true
6};
7
csharp
1// 3. First-column emphasis only
2var look = new TableLook { FirstColumn = true };
3
csharp
1// 4. Disable all banding
2var look = new TableLook
3{
4 NoHorizontalBand = true,
5 NoVerticalBand = true
6};
7
csharp
1// 5. Attach to a table style
2var style = new TableStyle
3{
4 TableLook = new TableLook { FirstRow = true, LastRow = true }
5};
6

Properties

FirstColumn

When, apply special formatting to the first column (for example use a different fill or emphasis).

FirstRow

When, treat the first row as a header row and apply header-style formatting.

LastColumn

When, apply special formatting to the last column (for example emphasize end-of-row cells).

LastRow

When, treat the last row specially (for example as a totals/footer row) and apply footer-style formatting.

NoHorizontalBand

When, disable horizontal banding (alternating row fills). When, enable horizontal banding.

NoVerticalBand

When, disable vertical banding (alternating column fills). When, enable vertical banding.

VegaRiseVDocs.NET

Create Account

Create your VDocs account.

or

Already have an account? Sign in