Class DocumentProperties
Represents the document properties in a Telerik document model, providing access to various styling attributes that can be applied to the entire document.
Inherited Members
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class DocumentProperties : DocumentElementPropertiesBase, IElementWithStyle
Constructors
DocumentProperties(DocumentElement)
DocumentProperties(StyleDefinition)
Properties
DefaultTabWidth
Gets or sets the default tab width for the document properties.
Declaration
public double DefaultTabWidth { get; set; }
Property Value
System.Double
A double value representing the width of the default tab in units of measurement used by the document. |
EndnotesFirstNumber
Gets or sets the first number of the endnotes in the document.
Declaration
public int EndnotesFirstNumber { get; set; }
Property Value
System.Int32
The first number of the endnotes, represented as an integer. |
EndnotesNumberingFormat
Gets or sets the numbering format for endnotes in the document properties.
Declaration
public ListNumberingFormat EndnotesNumberingFormat { get; set; }
Property Value
ListNumberingFormat
A value that specifies the numbering format for endnotes. This can be one of several predefined formats such as Roman numerals, Arabic numbers, or letters. |
EndnotesNumberingRestartType
Represents the type for restarting the numbering of endnotes in a document.
Declaration
public NumberingRestartType EndnotesNumberingRestartType { get; set; }
Property Value
NumberingRestartType
|
EndnotesPosition
Gets or sets the position of endnotes in the document.
Declaration
public EndnotesPosition EndnotesPosition { get; set; }
Property Value
EndnotesPosition
The endnotes position, which determines where the endnotes will be displayed in relation to the main content of the document. |
FootnotesFirstNumber
Gets or sets the first number to be used for footnotes in the document.
Declaration
public int FootnotesFirstNumber { get; set; }
Property Value
System.Int32
A System.Int32 representing the first footnote number. This value can be set to customize the numbering of footnotes in the document. |
FootnotesNumberingFormat
Represents the formatting options for footnotes numbering in a document.
Declaration
public ListNumberingFormat FootnotesNumberingFormat { get; set; }
Property Value
ListNumberingFormat
|
FootnotesNumberingRestartType
Represents the type of restarting for footnote numbering in a document.
Declaration
public NumberingRestartType FootnotesNumberingRestartType { get; set; }
Property Value
NumberingRestartType
|
FootnotesPosition
Gets or sets the position of the footnotes in the document.
Declaration
public FootnotesPosition FootnotesPosition { get; set; }
Property Value
FootnotesPosition
A value indicating the position of the footnotes, which can be either at the bottom of the page or at the end of the document. |
Methods
CreateInstance()
Declaration
protected override DocumentElementPropertiesBase CreateInstance()
Returns
DocumentElementPropertiesBase
|
Overrides
InitProperties()
Declaration
protected override void InitProperties()
Overrides
OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)
Declaration
protected override void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters
StylePropertyChangeEventArgs
args
|
Overrides
ValidateStyleType(StyleDefinition)
Declaration
protected override void ValidateStyleType(StyleDefinition value)
Parameters
StyleDefinition
value
|