Skip to main content

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