ClassSectionProperties
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
Properties
ChapterHeadingStyleIndex
References the heading style used to determine chapter numbers for chapter-based page numbering schemes.
Declaration
public IStyleProperty<int?> ChapterHeadingStyleIndex { get; }
Property Value
The index of the chapter heading style.
ChapterSeparatorCharacter
Specifies the separator character displayed between chapter numbers and page numbers in chapter-based page numbering.
Declaration
public IStyleProperty<ChapterSeparatorType?> ChapterSeparatorCharacter { get; }
Property Value
IStyleProperty<ChapterSeparatorType?>
The chapter separator character.
FooterBottomMargin
Controls the distance from the bottom page edge to the footer content, in device-independent pixels (1/96 inch).
Declaration
public IStyleProperty<double?> FooterBottomMargin { get; }
Property Value
The footer bottom margin property.
HasDifferentFirstPageHeaderFooter
Enables distinct header and footer content on the section's first page, independent of subsequent pages.
Declaration
public IStyleProperty<bool?> HasDifferentFirstPageHeaderFooter { get; }
Property Value
The has different first page header footer.
HeaderTopMargin
Controls the distance from the top page edge to the header content, in device-independent pixels (1/96 inch).
Declaration
public IStyleProperty<double?> HeaderTopMargin { get; }
Property Value
The header top margin property.
PageMargins
Defines the whitespace between page edges and content area on all four sides of the page.
Declaration
public IStyleProperty<Padding> PageMargins { get; }
Property Value
IStyleProperty<Padding>
The page margins property.
PageNumberFormat
Specifies the numbering style for page numbers in the section, such as Arabic numerals, Roman numerals, or alphabetic characters.
Declaration
public IStyleProperty<NumberingStyle?> PageNumberFormat { get; }
Property Value
IStyleProperty<NumberingStyle?>
The page number format.
PageOrientation
Controls whether pages in the section are rendered in portrait or landscape orientation.
Declaration
public IStyleProperty<PageOrientation?> PageOrientation { get; }
Property Value
IStyleProperty<PageOrientation?>
The page orientation.
PageSize
Specifies the physical dimensions of pages in the section, with width and height in device-independent pixels (1/96 inch).
Declaration
public IStyleProperty<Size?> PageSize { get; }
Property Value
The page size property.
SectionType
Determines how the section begins relative to the previous section, controlling page breaks and continuity.
Declaration
public IStyleProperty<SectionType?> SectionType { get; }
Property Value
The section type property.
StartingPageNumber
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.
Declaration
public IStyleProperty<int?> StartingPageNumber { get; }
Property Value
The starting page number.
VerticalAlignment
Controls vertical positioning of content within the page, distributing whitespace above and below the content area.
Declaration
public IStyleProperty<VerticalAlignment> VerticalAlignment { get; }
Property Value
IStyleProperty<VerticalAlignment>
The vertical alignment property.
Methods
EnumerateStyleProperties()
Enumerates the style properties.
Declaration
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
Returns
IEnumerable<IStyleProperty>
The style properties.
Overrides
GetStylePropertyOverride(IStylePropertyDefinition)
Gets specific style property or null.
Declaration
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
Parameters
propertyDefinition
The property definition.
Returns
Overrides