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

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