Share via


VariableMultiValueConverter.Convert Method

Definition

Converts multiple System.Boolean value bindings to a single System.Boolean. It does this by enabling them to specify whether All, Any, None or a specific number of values are true as specified in ConditionType. This is useful when combined with the MultiBinding.

public object Convert(object[]? values, Type targetType, object? parameter, System.Globalization.CultureInfo culture);

Parameters

values
System.Object[]

The values (of type System.Boolean) that should be converted.

targetType
System.Type

The type of the binding target property. This is not implemented.

parameter
System.Object

Additional parameter for the converter to handle. This is not implemented.

culture
System.Globalization.CultureInfo

The culture to use in the converter. This is not implemented.

Returns

System.Object

A single System.Boolean value dependant on the configuration for this converter.

Implements

Applies to