skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

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.

Inheritance
System.Object
DocumentElementPropertiesBase
DocumentProperties
Inherited Members
DocumentElementPropertiesBase.GetStyleProperty(IStylePropertyDefinition)
DocumentElementPropertiesBase.GetStyleProperty(String)
DocumentElementPropertiesBase.CopyPropertiesFrom(DocumentElementPropertiesBase)
DocumentElementPropertiesBase.MergePropertiesWith(DocumentElementPropertiesBase)
DocumentElementPropertiesBase.ToString()
DocumentElementPropertiesBase.ClearProperties()
DocumentElementPropertiesBase.IElementWithStyle.StyleNameChanged()
DocumentElementPropertiesBase.IElementWithStyle.OnStyleRemovedFromDocument()
DocumentElementPropertiesBase.IElementWithStyle.StylePropertyChanging(Object, StylePropertyChangeEventArgs)
DocumentElementPropertiesBase.IElementWithStyle.StylePropertyChanged(Object, StylePropertyChangeEventArgs)
DocumentElementPropertiesBase.OnStyleChanged()
DocumentElementPropertiesBase.OnStyleChanging()
DocumentElementPropertiesBase.StyleProperties
DocumentElementPropertiesBase.StyleName
DocumentElementPropertiesBase.OriginalStyleName
DocumentElementPropertiesBase.Style
DocumentElementPropertiesBase.HasRevisions
DocumentElementPropertiesBase.RevisionInfo
DocumentElementPropertiesBase.OriginalProperties
DocumentElementPropertiesBase.IElementWithStyle.StyleName
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class DocumentProperties : DocumentElementPropertiesBase, IElementWithStyle

Constructors

DocumentProperties(DocumentElement)

Declaration
public DocumentProperties(DocumentElement owner)
Parameters
DocumentElement owner

DocumentProperties(StyleDefinition)

Declaration
public DocumentProperties(StyleDefinition owner)
Parameters
StyleDefinition owner

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
DocumentElementPropertiesBase.CreateInstance()

InitProperties()

Declaration
protected override void InitProperties()
Overrides
DocumentElementPropertiesBase.InitProperties()

OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)

Declaration
protected override void OnStylePropertyChangedOverride(StylePropertyChangeEventArgs args)
Parameters
StylePropertyChangeEventArgs args

Overrides
DocumentElementPropertiesBase.OnStylePropertyChangedOverride(StylePropertyChangeEventArgs)

ValidateStyleType(StyleDefinition)

Declaration
protected override void ValidateStyleType(StyleDefinition value)
Parameters
StyleDefinition value

Overrides
DocumentElementPropertiesBase.ValidateStyleType(StyleDefinition)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.