protected Section Section(Content header = null, Content footer = null, Content content = null) { var section = new Section(content ?? DomFx.Layouters.Specification.Content.Empty, header ?? DomFx.Layouters.Specification.Content.Empty, footer ?? DomFx.Layouters.Specification.Content.Empty); sections.Add(section); return section; }
protected Content Content(Unit border = default(Unit), IEnumerable<ElementSpecification> elements = null) { var content = new Content(elements, new Margins { Bottom = border, Left = border, Right = border, Top = border }); return content; }