Log In
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Collapse]Rich Text Editor
   [Expand]Product Information
     ASPxRichEdit Control
     Supported Document Formats
     Import and Export
     Formatting Characters
     Formatting Paragraphs
     Mail Merge
     Spell Checking
    [Collapse]Client API
      Document Model Information
      Client Selection
      Client Commands
    [Expand]Built-in Dialogs
     HTML Tag Interpretation
     Keyboard Shortcuts
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Document Model Information

The client RichEdit's ASPxClientRichEdit.document property is an entry point to objects containing information about the current state of the document model. These informational objects are exact copies of internal structural elements (such as sections or styles of characters, paragraphs and tables, etc.) constituting the real document model of the RichEdit. The implementation of the RichEdit client API considers these public info objects to be temporary containers of the document model state. They represent the actual state of the document model only at times of their creation (when they are accessed through client API properties), and after that they are not updated with any further changes occurred in the real document model.

All properties providing access to the informational objects are named in the public client API using the "Info" ending. For instance, the sectionsInfo property (RichEditDocument.sectionsInfo), the spellingInfo property (RichEditDocument.spellingInfo) together with its corresponding SpellingInfo object, etc. Such naming clearly indicates these API members and warns you about the potential temporary nature of their actuality.

The main informational objects are exposed through the properties of the RichEditDocument object returned by the RichEdit's ASPxClientRichEdit.document property. These properties are listed below. In code, they can be accessed in the following notation.

Property Name Link Description
abstractNumberingListsInfo RichEditDocument.abstractNumberingListsInfo Provides information about numbered paragraphs in the document.
activeSubDocument RichEditDocument.activeSubDocument Provides the information about the active sub-document.
characterStylesInfo RichEditDocument.characterStylesInfo Provides information about character styles in the current document.
paragraphStylesInfo RichEditDocument.paragraphStylesInfo Provides information about paragraph styles in the current document.
sectionsInfo RichEditDocument.sectionsInfo Provides information about sections in the current document.
spellingInfo RichEditDocument.spellingInfo Provides information about spell checking in the current document.
tableStylesInfo RichEditDocument.tableStylesInfo Provides information about table styles in the current document.

The activeSubDocument property (RichEditDocument.activeSubDocument) provides access to the SubDocument object, which, in turn, exposes another set of informational objects through its properties. These objects contain current state settings of document elements which are specific to the sub-document level (such as paragraphs, tables, fields and etc.). Available properties are listed below. They can be used in code in the following notation.

Property Name Link Description
bookmarksInfo SubDocument.bookmarksInfo Provides information about document bookmarks.
fieldsInfo SubDocument.fieldsInfo Provides information about fields in the current document.
inlinePicturesInfo SubDocument.inlinePicturesInfo Provides access to an array of objects containing in-line picture settings.
paragraphsInfo SubDocument.paragraphsInfo Provides information about paragraphs contained in the document.
tablesInfo SubDocument.tablesInfo Provides information about tables contained in the document.

Expanded See Also

How would you rate this topic?​​​​​​​