Class SectionProperties
Represents the properties of a section in a document, including formatting options such as margins, size, and page settings.
Inherited Members
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class SectionProperties : DocumentElementPropertiesBase, IElementWithStyle
Constructors
SectionProperties()
Declaration
public SectionProperties()
SectionProperties(DocumentElement)
SectionProperties(StyleDefinition)
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.
Declaration
public Padding ActualPageMargin { get; set; }
Property Value
Padding
Returns a Padding value representing the margin dimensions. |
Columns
Gets or sets the column properties for the section.
Declaration
[XamlCompositePropertySerializable]
public SectionColumnCollection Columns { get; set; }
Property Value
SectionColumnCollection
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
System.Int32
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
ListNumberingFormat
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
NumberingRestartType
|
FooterBottomMargin
FootnotesFirstNumber
Gets or sets the first number used for footnotes in the section.
Declaration
[XamlSerializable]
public int FootnotesFirstNumber { get; set; }
Property Value
System.Int32
A System.Int32 that represents the first footnote number. This value determines the starting point for footnote numbering in the document's section. |
FootnotesNumberingFormat
Represents the formatting options for numbering footnotes in a section.
Declaration
[XamlSerializable]
public ListNumberingFormat FootnotesNumberingFormat { get; set; }
Property Value
ListNumberingFormat
|
FootnotesNumberingRestartType
Represents the different types of numbering restart for footnotes in a section.
Declaration
[XamlSerializable]
public NumberingRestartType FootnotesNumberingRestartType { get; set; }
Property Value
NumberingRestartType
|
HasDifferentFirstPageHeaderFooter
HeaderTopMargin
Gets or sets the top margin for the header in the section properties.
Declaration
[XamlSerializable]
public int HeaderTopMargin { get; set; }
Property Value
System.Int32
A |
LineNumbering
Gets or sets the line numbering in the Section.
Declaration
[XamlCompositePropertySerializable]
public LineNumbering LineNumbering { get; set; }
Property Value
LineNumbering
The line numbering. |
PageMargin
Gets or sets the page margins for the section properties.
Declaration
[XamlSerializable]
public Padding PageMargin { get; set; }
Property Value
Padding
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
Telerik.Windows.Documents.Model.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
System.Windows.Size
A System.Windows.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
SectionBreakType
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
DocumentElementPropertiesBase
|
Overrides
InitProperties()
Declaration
protected override void InitProperties()