Skip to main content

RichEditDocumentLoader Class

Enables you to specify parameters of the document which the RichEdit control loads after initialization.

Namespace: DevExpress.Xpf.RichEdit

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

#Declaration

public class RichEditDocumentLoader :
    IRichEditDocumentLoader

#Remarks

Specify the format and location of the document that is loaded by the RichEdit control on start, as in the following code sample:


xmlns:dxre="http://schemas.devexpress.com/winfx/2008/xaml/richedit"
 xmlns:dxreex="http://schemas.devexpress.com/winfx/2008/xaml/richeditextensions"

<dxreex:RichEdit x:Name="rich" IsReadOnly="True" ShowCaretInReadOnly="False">
    <dxreex:RichEdit.DocumentLoader>
        <dxre:RichEditDocumentLoader Format="PlainText" Source="Texts/olivertwist.txt" />
    </dxreex:RichEdit.DocumentLoader>
</dxreex:RichEdit>

#Inheritance

Object
RichEditDocumentLoader
See Also