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

Declaration

public object Convert(
    object value,
    Type targetType,
    object parameter,
    CultureInfo culture
)
Public Function Convert(
    value As Object,
    targetType As Type,
    parameter As Object,
    culture As CultureInfo
) As Object

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