Class MultiBinding
Describes a collection of bindings attached to a single property. The inner bindings contribute their values to the MultiBinding, which combines/converts them into a resultant final value. In the reverse direction, the target value is tranlated to a set of values that are fed back into the inner bindings.
[ContentProperty("Bindings")]
public class MultiBinding : BindingBase, IAddChild
- Inheritance
-
MultiBinding
- Implements
Constructors
- MultiBinding()
Default constructor
Properties
- Bindings
List of inner bindings
- Converter
Converter to convert the source values to/from the target value
- ConverterCulture
Culture in which to evaluate the converter
- ConverterParameter
The parameter to pass to converter.
- Mode
Binding type
- NotifyOnSourceUpdated
Raise SourceUpdated event whenever a value flows from target to source
- NotifyOnTargetUpdated
Raise TargetUpdated event whenever a value flows from source to target
- NotifyOnValidationError
Raise ValidationError event whenever there is a ValidationError on Update
- UpdateSourceExceptionFilter
called whenever any exception is encountered when trying to update the value to the source. The application author can provide its own handler for handling exceptions here. If the delegate returns null - don�t throw an error or provide a ValidationError. Exception - returns the exception itself, we will fire the exception using Async exception model. ValidationError - it will set itself as the BindingInError and add it to the element�s Validation errors.
- UpdateSourceTrigger
Update type
- ValidatesOnDataErrors
True if a data error in the source item should be considered a validation error.
- ValidatesOnExceptions
True if an exception during source updates should be considered a validation error.
- ValidatesOnNotifyDataErrors
True if a data error from INotifyDataErrorInfo source item should be considered a validation error.
- ValidationRules
Collection<ValidationRule> is a collection of ValidationRule instances on either a Binding or a MultiBinding. Each of the rules is checked for validity on update