Skip to main content
A newer version of this page is available. .

ContentToSpecificFormatConverter.Convert(Object, Type, Object, CultureInfo) Method

Converts the control’s content to the document in the specified format.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

public object Convert(
    object value,
    Type targetType,
    object parameter,
    CultureInfo culture
)

Parameters

Name Type Description
value Object

The control’s content.

targetType Type

The Type that is the type of the result.

parameter Object

The converter parameter to use.

culture CultureInfo

A CultureInfo representing the culture to use in the converter.

Returns

Type Description
Object

An object representing the resulting document.

Remarks

Implementation of the IValueConverter interface.

See Also