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

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.v18.2.dll

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