Skip to main content
Box

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutTextBox.Document Property

OBSOLETE

This property has become obsolete. Use a pair of methods - 'DevExpress.XtraRichEdit.API.Layout.DocumentLayout.BeginUpdateDocument(RangedLayoutElement element)', where 'element' is the LayoutTextBox instance, and the 'DevExpress.XtraRichEdit.API.Layout.DocumentLayout.EndUpdateDocument(SubDocument document)' method.

Provides access to the text box content.

Namespace: DevExpress.XtraRichEdit.API.Layout

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#Declaration

[Obsolete("This property has become obsolete. Use a pair of methods - 'DevExpress.XtraRichEdit.API.Layout.DocumentLayout.BeginUpdateDocument(RangedLayoutElement element)', where 'element' is the LayoutTextBox instance, and the 'DevExpress.XtraRichEdit.API.Layout.DocumentLayout.EndUpdateDocument(SubDocument document)' method.", true)]
public SubDocument Document { get; }

#Property Value

Type Description
SubDocument

A SubDocument object that is the text box content.

#Remarks

The Document property provides access to the TextBox.Document of the text box which relates to the current LayoutTextBox layout element.

See Also