Class
DocumentNotNullConverter

Converts a value to a boolean indicating whether it is a non-null RadFixedDocument.

Definition

Namespace:Telerik.Maui.Controls.PdfViewer

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class DocumentNotNullConverter : IValueConverter

Inheritance: objectDocumentNotNullConverter

Implements: IValueConverter

Constructors

DocumentNotNullConverter()

Declaration

cs-api-definition
public DocumentNotNullConverter()

Methods

Convert(object, Type, object, CultureInfo)

Converts a value to a boolean indicating whether it is a RadFixedDocument.

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The value to convert.

targetType

Type

The type of the binding target property.

parameter

object

The converter parameter to use.

culture

CultureInfo

The culture to use in the converter.

Returns

object

true if the value is a RadFixedDocument; otherwise, false.

ConvertBack(object, Type, object, CultureInfo)

Converts a value back. This method is not implemented and throws NotImplementedException.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The value that is produced by the binding target.

targetType

Type

The type to convert to.

parameter

object

The converter parameter to use.

culture

CultureInfo

The culture to use in the converter.

Returns

object

A converted value.

Exceptions

NotImplementedException

This method is not implemented.