Skip to main content
Box

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.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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