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

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