New to Telerik UI for WPFStart a free 30-day trial

Represents the properties of a section in a document, including formatting options such as margins, size, and page settings.

Definition

Constructors

C#
public SectionProperties()
C#
public SectionProperties(DocumentElement owner)
Parameters:ownerDocumentElement
C#
public SectionProperties(StyleDefinition owner)
Parameters:ownerStyleDefinition

Properties

Gets or sets the actual page margin for the section. This property defines the space between the content of the section and the edges of the page.

C#
public Padding ActualPageMargin { get; set; }
Property Value:

Returns a Padding value representing the margin dimensions.

Gets or sets the column properties for the section.

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

The column properties that define the layout and spacing of the columns in the section.

Gets or sets the first number to be used for endnotes in the document section.

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

The first number for endnotes, which determines the numbering scheme for subsequent endnotes.

Gets or sets the numbering format for endnotes in a document section.

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

A value that specifies the format of the numbering for endnotes. This can include formats such as Arabic numerals, Roman numerals, or letters.

Specifies the type of numbering for endnotes in a document section.

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

Gets or sets the bottom margin for the footer of the section.

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

A double value representing the bottom margin in units.

Gets or sets the first number used for footnotes in the section.

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

A int that represents the first footnote number. This value determines the starting point for footnote numbering in the document's section.

Represents the formatting options for numbering footnotes in a section.

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

Represents the different types of numbering restart for footnotes in a section.

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

Gets or sets a value indicating whether the section has a different header and footer on the first page.

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

true if the section has a different header and footer on the first page; otherwise, false.

Gets or sets the top margin for the header in the section properties.

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

A double representing the top margin in the desired unit of measure.

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 page margins for the section properties.

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

The page margins defined for the section. It specifies the space between the content and the edges of the page.

PageOrientation

PageOrientation

Gets or sets the page orientation of the section, which determines the layout of the content on the page.

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

A value representing the page orientation, which can be either portrait or landscape.

Gets or sets the size of the page for the section properties.

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

A Size object that represents the width and height of the page.

Gets or sets the type of break before the current section.

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

A value that specifies the type of break preceding the section, which can be a type of SectionBreakType enumeration.

Methods

C#
protected override DocumentElementPropertiesBase CreateInstance()
Returns:

DocumentElementPropertiesBase

Overrides: DocumentElementPropertiesBase.CreateInstance()

C#
protected override void InitProperties()

Overrides: DocumentElementPropertiesBase.InitProperties()