New to Telerik UI for WPFStart a free 30-day trial

Represents the document properties in a Telerik document model, providing access to various styling attributes that can be applied to the entire document.

Definition

Constructors

C#
public DocumentProperties(DocumentElement owner)
Parameters:ownerDocumentElement
C#
public DocumentProperties(StyleDefinition owner)
Parameters:ownerStyleDefinition

Properties

Gets or sets the default tab width for the document properties.

C#
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.

Gets or sets the first number of the endnotes in the document.

C#
public int EndnotesFirstNumber { get; set; }
Property Value:

The first number of the endnotes, represented as an integer.

Gets or sets the numbering format for endnotes in the document properties.

C#
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.

Represents the type for restarting the numbering of endnotes in a document.

C#
public NumberingRestartType EndnotesNumberingRestartType { get; set; }

Gets or sets the position of endnotes in the document.

C#
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.

Gets or sets the first number to be used for footnotes in the document.

C#
public int FootnotesFirstNumber { get; set; }
Property Value:

A int representing the first footnote number. This value can be set to customize the numbering of footnotes in the document.

Represents the formatting options for footnotes numbering in a document.

C#
public ListNumberingFormat FootnotesNumberingFormat { get; set; }

Represents the type of restarting for footnote numbering in a document.

C#
public NumberingRestartType FootnotesNumberingRestartType { get; set; }

Gets or sets the position of the footnotes in the document.

C#
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

C#
protected override DocumentElementPropertiesBase CreateInstance()
Returns:

DocumentElementPropertiesBase

Overrides: DocumentElementPropertiesBase.CreateInstance()

C#
protected override void InitProperties()

Overrides: DocumentElementPropertiesBase.InitProperties()

C#
protected override void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters:argsStylePropertyChangeEventArgs

Overrides: DocumentElementPropertiesBase.OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)

C#
protected override void ValidateStyleType(StyleDefinition value)
Parameters:valueStyleDefinition

Overrides: DocumentElementPropertiesBase.ValidateStyleType(StyleDefinition)