Skip to main content

RichEditControl.ClipboardFormatOptions Property

Gets or sets an object used to specify the data formats available on the Clipboard. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public DXRichEditDataFormatOptions ClipboardFormatOptions { get; set; }

Property Value

Type Description
DXRichEditDataFormatOptions

A DXRichEditDataFormatOptions object containing the data format settings.

Remarks

The code sample below specifies the DXRichEditDataFormatOptions:

<dxre:RichEditControl x:Name="richEdit" CommandBarStyle="Ribbon">
    <dxre:RichEditControl.ClipboardFormatOptions>
        <dxre:DXRichEditDataFormatOptions Html="Enabled" 
                                          PlainText="Disabled" 
                                          Rtf="CopyOnly"/>
    </dxre:RichEditControl.ClipboardFormatOptions>
</dxre:RichEditControl>
See Also