Class SectionProperties
Configures page layout and presentation for Section elements, including page size, orientation, margins, headers, footers, and section break behavior.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public sealed class SectionProperties : DocumentElementPropertiesBase, IElementWithStyle
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
|
IStyleProperty<System.Nullable<System.Int32>>
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<System.Nullable<ChapterSeparatorType>>
The chapter separator character. |
FooterBottomMargin
HasDifferentFirstPageHeaderFooter
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
|
IStyleProperty<System.Nullable<System.Double>>
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<System.Nullable<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<System.Nullable<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
|
IStyleProperty<System.Nullable<System.Windows.Size>>
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
|
IStyleProperty<System.Nullable<SectionType>>
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
|
IStyleProperty<System.Nullable<System.Int32>>
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
|
System.Collections.Generic.IEnumerable<IStyleProperty>
The style properties. |
Overrides
GetStylePropertyOverride(IStylePropertyDefinition)
Gets specific style property or null.
Declaration
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
Parameters
|
IStylePropertyDefinition
propertyDefinition
The property definition. |
Returns
|
IStyleProperty
|