VariableMultiValueConverter.Convert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A single System.Boolean value dependant on the configuration for this converter.