New to Telerik UI for WinForms? Start a free 30-day trial

Stores layout and formatting settings for a section; page size, margins, and orientation can resolve from document defaults.

Definition

Constructors

Creates an unowned property set for holding section values independently of a document element.

C#
public SectionProperties()

Initializes section properties for a document element, allowing unset values to resolve from the owning document.

C#
public SectionProperties(DocumentElement owner)
Parameters:ownerDocumentElement

The document element that owns these properties.

Initializes section properties owned by a style definition.

C#
public SectionProperties(StyleDefinition owner)
Parameters:ownerStyleDefinition

The style definition that owns these properties.

Properties

Gets or sets the page margins mapped to the section's current orientation; PageMargin stores the unmapped values.

C#
public Padding ActualPageMargin { get; set; }

Gets or sets the collection of text columns used to lay out the section.

C#
[XamlCompositePropertySerializable]
public SectionColumnCollection Columns { get; set; }

Gets or sets the base number added to this section's endnote reference sequence. With continuous numbering, references from earlier sections contribute to the displayed number. If unset, the document's endnote starting number is used.

C#
[XamlSerializable]
public int EndnotesFirstNumber { get; set; }

Gets or sets the marker format for endnote references in this section. If unset, the document's endnote format is used.

C#
[XamlSerializable]
public ListNumberingFormat EndnotesNumberingFormat { get; set; }

Gets or sets whether endnote numbering continues across pages and sections or restarts at the configured boundaries. If unset, the document's endnote restart setting is used.

C#
[XamlSerializable]
public NumberingRestartType EndnotesNumberingRestartType { get; set; }

Gets or sets the inset below footer content within the page's bottom margin.

C#
[XamlSerializable]
public int FooterBottomMargin { get; set; }

Gets or sets the base number added to this section's footnote reference sequence. With continuous numbering, references from earlier sections contribute to the displayed number. If unset, the document's footnote starting number is used.

C#
[XamlSerializable]
public int FootnotesFirstNumber { get; set; }

Gets or sets the marker format for footnote references in this section. If unset, the document's footnote format is used.

C#
[XamlSerializable]
public ListNumberingFormat FootnotesNumberingFormat { get; set; }

Gets or sets whether footnote numbering continues across pages and sections or restarts at the configured boundaries. If unset, the document's footnote restart setting is used.

C#
[XamlSerializable]
public NumberingRestartType FootnotesNumberingRestartType { get; set; }

Gets or sets whether the section uses a separate first-page header and footer. The default is false.

C#
[XamlSerializable]
public bool HasDifferentFirstPageHeaderFooter { get; set; }

Gets or sets the inset above header content within the page's top margin.

C#
[XamlSerializable]
public int HeaderTopMargin { get; set; }

Gets or sets the line numbering in the Section.

C#
[XamlCompositePropertySerializable]
public LineNumbering LineNumbering { get; set; }
Property Value:

The line numbering.

Gets or sets the section's page-margin override. If no section value is set, the owning document's section margin default is used.

C#
[XamlSerializable]
public Padding PageMargin { get; set; }

Gets or sets the section's page-orientation override. If no section value is set, the owning document's section orientation default is used.

C#
[XamlSerializable]
public PageOrientation PageOrientation { get; set; }

Gets or sets the section's page-size override. If no section value is set, the owning document's section page-size default is used.

C#
[XamlSerializable]
public Size PageSize { get; set; }

Gets or sets the break used to enter this section from the preceding section. The default is NextPage.

C#
[XamlSerializable]
public SectionBreakType PreviousSectionBreakType { get; set; }

Methods

Creates another property set associated with the same owning document element.

C#
protected override DocumentElementPropertiesBase CreateInstance()
Returns:

DocumentElementPropertiesBase

Overrides: DocumentElementPropertiesBase.CreateInstance()

Initializes the section style-property wrappers, including properties that inherit document-level defaults.

C#
protected override void InitProperties()

Overrides: DocumentElementPropertiesBase.InitProperties()