ClassSectionProperties
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
SectionProperties()
Declaration
public SectionProperties()
SectionProperties(DocumentElement)
Declaration
public SectionProperties(DocumentElement owner)
Parameters
owner
SectionProperties(StyleDefinition)
Declaration
public SectionProperties(StyleDefinition owner)
Parameters
owner
Properties
ActualPageMargin
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.
Columns
Gets or sets the column properties for the section.
Declaration
[XamlCompositePropertySerializable]
public SectionColumnCollection Columns { get; set; }
Property Value
The column properties that define the layout and spacing of the columns in the section.
EndnotesFirstNumber
Gets or sets the first number to be used for endnotes in the document section.
Declaration
[XamlSerializable]
public int EndnotesFirstNumber { get; set; }
Property Value
The first number for endnotes, which determines the numbering scheme for subsequent endnotes.
EndnotesNumberingFormat
Gets or sets the numbering format for endnotes in a document section.
Declaration
[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.
EndnotesNumberingRestartType
Specifies the type of numbering for endnotes in a document section.
Declaration
[XamlSerializable]
public NumberingRestartType EndnotesNumberingRestartType { get; set; }
Property Value
FooterBottomMargin
Gets or sets the bottom margin for the footer of the section.
Declaration
[XamlSerializable]
public int FooterBottomMargin { get; set; }
Property Value
A double value representing the bottom margin in units.
FootnotesFirstNumber
Gets or sets the first number used for footnotes in the section.
FootnotesNumberingFormat
Represents the formatting options for numbering footnotes in a section.
Declaration
[XamlSerializable]
public ListNumberingFormat FootnotesNumberingFormat { get; set; }
Property Value
FootnotesNumberingRestartType
Represents the different types of numbering restart for footnotes in a section.
Declaration
[XamlSerializable]
public NumberingRestartType FootnotesNumberingRestartType { get; set; }
Property Value
HasDifferentFirstPageHeaderFooter
Gets or sets a value indicating whether the section has a different header and footer on the first page.
Declaration
[XamlSerializable]
public bool HasDifferentFirstPageHeaderFooter { get; set; }
Property Value
true if the section has a different header and footer on the first page; otherwise, false.
HeaderTopMargin
Gets or sets the top margin for the header in the section properties.
Declaration
[XamlSerializable]
public int HeaderTopMargin { get; set; }
Property Value
A double representing the top margin in the desired unit of measure.
LineNumbering
Gets or sets the line numbering in the Section.
Declaration
[XamlCompositePropertySerializable]
public LineNumbering LineNumbering { get; set; }
Property Value
The line numbering.
PageMargin
Gets or sets the page margins for the section properties.
Declaration
[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
Gets or sets the page orientation of the section, which determines the layout of the content on the page.
Declaration
[XamlSerializable]
public PageOrientation PageOrientation { get; set; }
Property Value
PageOrientation
A value representing the page orientation, which can be either portrait or landscape.
PageSize
Gets or sets the size of the page for the section properties.
Declaration
[XamlSerializable]
public Size PageSize { get; set; }
Property Value
Size
A Size object that represents the width and height of the page.
PreviousSectionBreakType
Gets or sets the type of break before the current section.
Declaration
[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
CreateInstance()
Declaration
protected override DocumentElementPropertiesBase CreateInstance()
Returns
Overrides
InitProperties()
Declaration
protected override void InitProperties()
Overrides