New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class DocumentNotNullConverter : IValueConverter

Inheritance: objectDocumentNotNullConverter

Implements: IValueConverter

Constructors

C#
public DocumentNotNullConverter()

Methods

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

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The value to convert.

targetTypeType

The type of the binding target property.

parameterobject

The converter parameter to use.

cultureCultureInfo

The culture to use in the converter.

Returns:

object

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

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

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The value that is produced by the binding target.

targetTypeType

The type to convert to.

parameterobject

The converter parameter to use.

cultureCultureInfo

The culture to use in the converter.

Returns:

object

A converted value.

Exceptions:

NotImplementedException

This method is not implemented.