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

Converts multiple bool values to a single one by applying AND / OR logical operator.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class MultiBooleanConverter : IMultiValueConverter

Inheritance: objectMultiBooleanConverter

Implements: IMultiValueConverter

Constructors

C#
public MultiBooleanConverter()

Properties

Gets or sets the value that is returned by the Convert() method when the incoming values do not meet the condition determined by the provided LogicalOperator.

C#
public object FalseValue { get; set; }

Gets or sets the operator that will compute the single bool.

C#
public LogicalOperator LogicalOperator { get; set; }

Gets or sets the value that is returned by the Convert() method when the incoming values meet the condition determined by the provided LogicalOperator.

C#
public object TrueValue { get; set; }

Methods

C#
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters:valuesobject[]targetTypeTypeparameterobjectcultureCultureInfoReturns:

object

C#
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters:valueobjecttargetTypesType[]parameterobjectcultureCultureInfoReturns:

object[]