ClassDocumentProperties
Represents the document properties in a Telerik document model, providing access to various styling attributes that can be applied to the entire document.
Definition
Namespace:Telerik.Windows.Documents.Model.Styles
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class DocumentProperties : DocumentElementPropertiesBase, IElementWithStyle
Inheritance: objectDocumentElementPropertiesBaseDocumentProperties
Implements:
Inherited Members
Constructors
DocumentProperties(DocumentElement)
Declaration
public DocumentProperties(DocumentElement owner)
Parameters
owner
DocumentProperties(StyleDefinition)
Declaration
public DocumentProperties(StyleDefinition owner)
Parameters
owner
Properties
DefaultTabWidth
Gets or sets the default tab width for the document properties.
Declaration
public double DefaultTabWidth { get; set; }
Property Value
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
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
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
EndnotesPosition
Gets or sets the position of endnotes in the document.
Declaration
public EndnotesPosition EndnotesPosition { get; set; }
Property Value
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.
FootnotesNumberingFormat
Represents the formatting options for footnotes numbering in a document.
Declaration
public ListNumberingFormat FootnotesNumberingFormat { get; set; }
Property Value
FootnotesNumberingRestartType
Represents the type of restarting for footnote numbering in a document.
Declaration
public NumberingRestartType FootnotesNumberingRestartType { get; set; }
Property Value
FootnotesPosition
Gets or sets the position of the footnotes in the document.
Declaration
public FootnotesPosition FootnotesPosition { get; set; }
Property Value
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
Overrides
InitProperties()
Declaration
protected override void InitProperties()
Overrides
OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)
Declaration
protected override void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters
args
Overrides
ValidateStyleType(StyleDefinition)
Declaration
protected override void ValidateStyleType(StyleDefinition value)
Parameters
value
Overrides