SectionProperties
Configures page layout and presentation for Section elements, including page size, orientation, margins, headers, footers, and section break behavior.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Styles
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public sealed class SectionProperties : DocumentElementPropertiesBase, IElementWithStyle
Inheritance: objectDocumentElementPropertiesBaseSectionProperties
Implements:
Inherited Members
Methods
Enumerates the style properties.
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
The style properties.
Overrides:
Gets specific style property or null.
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
The property definition.
Returns:Overrides:
Properties
References the heading style used to determine chapter numbers for chapter-based page numbering schemes.
public IStyleProperty<int?> ChapterHeadingStyleIndex { get; }
The index of the chapter heading style.
Specifies the separator character displayed between chapter numbers and page numbers in chapter-based page numbering.
public IStyleProperty<ChapterSeparatorType?> ChapterSeparatorCharacter { get; }
The chapter separator character.
Controls the distance from the bottom page edge to the footer content, in device-independent pixels (1/96 inch).
public IStyleProperty<double?> FooterBottomMargin { get; }
The footer bottom margin property.
Enables distinct header and footer content on the section's first page, independent of subsequent pages.
public IStyleProperty<bool?> HasDifferentFirstPageHeaderFooter { get; }
The has different first page header footer.
Controls the distance from the top page edge to the header content, in device-independent pixels (1/96 inch).
public IStyleProperty<double?> HeaderTopMargin { get; }
The header top margin property.
PageMargins
IStyleProperty<Padding>
Defines the whitespace between page edges and content area on all four sides of the page.
public IStyleProperty<Padding> PageMargins { get; }
The page margins property.
Specifies the numbering style for page numbers in the section, such as Arabic numerals, Roman numerals, or alphabetic characters.
public IStyleProperty<NumberingStyle?> PageNumberFormat { get; }
The page number format.
PageOrientation
IStyleProperty<PageOrientation?>
Controls whether pages in the section are rendered in portrait or landscape orientation.
public IStyleProperty<PageOrientation?> PageOrientation { get; }
The page orientation.
PageSize
IStyleProperty<Size?>
Specifies the physical dimensions of pages in the section, with width and height in device-independent pixels (1/96 inch).
public IStyleProperty<Size?> PageSize { get; }
The page size property.
Determines how the section begins relative to the previous section, controlling page breaks and continuity.
public IStyleProperty<SectionType?> SectionType { get; }
The section type property.
Sets the initial page number for the section, overriding automatic sequential numbering from previous sections.
This number appears on the first page of the section.
public IStyleProperty<int?> StartingPageNumber { get; }
The starting page number.
Controls vertical positioning of content within the page, distributing whitespace above and below the content area.
public IStyleProperty<VerticalAlignment> VerticalAlignment { get; }
The vertical alignment property.