VariableMultiValueConverter Class
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.
The VariableMultiValueConverter is a converter that allows users to convert 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 class VariableMultiValueConverter : Xamarin.CommunityToolkit.Extensions.Internals.MultiValueConverterExtension, Xamarin.Forms.IMultiValueConverter
- Inheritance
- Implements
Constructors
VariableMultiValueConverter() |
Properties
ConditionType |
Indicates how many values should be true out of the provided boolean values in the MultiBinding. Supports the following values: All, None, Any, GreaterThan, LessThan. |
Count |
The number of values that should be true when using ConditionType GreaterThan, LessThan or Exact. |
Methods
Convert(Object[], Type, Object, CultureInfo) |
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. |
ConvertBack(Object, Type[], Object, CultureInfo) |
Converts one System.Boolean value. Returns null if |
ProvideValue(IServiceProvider) | (Inherited from MultiValueConverterExtension) |
Explicit Interface Implementations
IMarkupExtension.ProvideValue(IServiceProvider) | (Inherited from MultiValueConverterExtension) |