Skip to main content

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

RichEditDocumentSource(Object, DocumentFormat) Constructor

Initializes a new instance of the RichEditDocumentSource class with the specified settings.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

public RichEditDocumentSource(
    object source,
    DocumentFormat format
)

#Parameters

Name Type Description
source Object

An object that is a document source.

format DocumentFormat

A DocumentFormat value indicating the format of the source document.

#Remarks

Use the RichEditDocumentSource instance as a RichEditControl.DocumentSource property value to specify a strict format for the source document. The following sources are supported.

See Also