The look of a Table: default cell padding and border, backgrounds, whether rows may split across pages, and whether
header rows repeat at the top of every page. Immutable; the With* methods return changed copies.
public sealed class TableStyle
ISO 32000-2 §14.8.5.4.2 (the Padding, BorderThickness, BorderColor and BackgroundColor layout attributes).
kind:method, kind:property, kind:ctor. Press Esc to clear.BackgroundThe background of body cells that set none (and whose row sets none), or null for none.BorderThe border of cells that set none.DefaultPadding 4 points, a 0.5 point black border, no backgrounds, rows split across pages, header rows repeated.HeaderBackgroundThe background of header-row cells that set none (and whose row sets none), or null for Background.KeepRowsTogetherTrue to move a row that does not fit to the next page whole instead of splitting it (a row taller than a page still splits).PaddingThe padding of cells that set none.RepeatHeaderRowsTrue to draw the header rows again at the top of every page the table continues on.WithBackground(Nullable<PdfColor>)Returns a copy with body background color (null for none).WithBorder(TableBorder)Returns a copy with default cell border border.WithHeaderBackground(Nullable<PdfColor>)Returns a copy with header-row background color (null for the body background).WithKeepRowsTogether(Boolean)Returns a copy that keeps rows together (true) or splits them across pages (false).WithPadding(CellPadding)Returns a copy with default cell padding padding.WithRepeatHeaderRows(Boolean)Returns a copy that repeats header rows on every page (true) or draws them once (false).