Skip to main content

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

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

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

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

Parameters

Name Type Description
value Object

The document to convert.

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

Remarks

Implementation of the IValueConverter interface.

See Also