SectionProperties
Represents the properties of a section in a document, including formatting options such as margins, size, and page settings.
Definition
Namespace:Telerik.Windows.Documents.Model.Styles
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class SectionProperties : DocumentElementPropertiesBase, IElementWithStyle
Inheritance: objectDocumentElementPropertiesBaseSectionProperties
Implements:
Inherited Members
Constructors
public SectionProperties()
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.
public Padding ActualPageMargin { get; set; }
Returns a Padding value representing the margin dimensions.
Gets or sets the column properties for the section.
[XamlCompositePropertySerializable]
public SectionColumnCollection Columns { get; set; }
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.
[XamlSerializable]
public int EndnotesFirstNumber { get; set; }
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.
[XamlSerializable]
public ListNumberingFormat EndnotesNumberingFormat { get; set; }
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.
[XamlSerializable]
public NumberingRestartType EndnotesNumberingRestartType { get; set; }
Gets or sets the bottom margin for the footer of the section.
[XamlSerializable]
public int FooterBottomMargin { get; set; }
A double value representing the bottom margin in units.
Gets or sets the first number used for footnotes in the section.
[XamlSerializable]
public int FootnotesFirstNumber { get; set; }
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.
[XamlSerializable]
public ListNumberingFormat FootnotesNumberingFormat { get; set; }
Represents the different types of numbering restart for footnotes in a section.
[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.
[XamlSerializable]
public bool HasDifferentFirstPageHeaderFooter { get; set; }
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.
[XamlSerializable]
public int HeaderTopMargin { get; set; }
A double representing the top margin in the desired unit of measure.
Gets or sets the line numbering in the Section.
[XamlCompositePropertySerializable]
public LineNumbering LineNumbering { get; set; }
The line numbering.
Gets or sets the page margins for the section properties.
[XamlSerializable]
public Padding PageMargin { get; set; }
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.
[XamlSerializable]
public PageOrientation PageOrientation { get; set; }
A value representing the page orientation, which can be either portrait or landscape.
PageSize
Size
Gets or sets the size of the page for the section properties.
[XamlSerializable]
public Size PageSize { get; set; }
A Size object that represents the width and height of the page.
Gets or sets the type of break before the current section.
[XamlSerializable]
public SectionBreakType PreviousSectionBreakType { get; set; }
A value that specifies the type of break preceding the section, which can be a type of SectionBreakType enumeration.
Methods
protected override DocumentElementPropertiesBase CreateInstance()
Overrides:
protected override void InitProperties()
Overrides: