Class MultiBinding
Describes a collection of Binding objects attached to a single binding target property.
Implements
Inherited Members
Namespace: System.Windows.Data
Assembly: OpenSilver.dll
Syntax
public class MultiBinding : BindingBase, IMarkupExtension<object>
Constructors
| Improve this Doc View SourceMultiBinding()
Initializes a new instance of the MultiBinding class.
Declaration
public MultiBinding()
Properties
| Improve this Doc View SourceBindings
Gets the collection of Binding objects within this MultiBinding instance.
Declaration
public Collection<BindingBase> Bindings { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<BindingBase> | A collection of Binding objects. MultiBinding currently supports only objects of type Binding and not MultiBinding. Adding a Binding child to a MultiBinding object implicitly adds the child to the BindingBase collection for the MultiBinding object. |
Converter
Gets or sets the converter to use to convert the source values to or from the target value.
Declaration
public IMultiValueConverter Converter { get; set; }
Property Value
Type | Description |
---|---|
IMultiValueConverter | A value of type IMultiValueConverter that indicates the converter to use. The default value is null. |
ConverterCulture
Gets or sets the System.Globalization.CultureInfo object that applies to any converter assigned to bindings wrapped by the MultiBinding or on the MultiBinding itself.
Declaration
public CultureInfo ConverterCulture { get; set; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo | A valid System.Globalization.CultureInfo. |
ConverterParameter
Gets or sets an optional parameter to pass to a converter as additional information.
Declaration
public object ConverterParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object | A parameter to pass to a converter. The default value is null. |
Mode
Gets or sets a value that indicates the direction of the data flow of this binding.
Declaration
public BindingMode Mode { get; set; }
Property Value
Type | Description |
---|---|
BindingMode | One of the BindingMode values. The default is OneWay. |
NotifyOnValidationError
Gets or sets a value that indicates whether the BindingValidationError event is raised on validation errors.
Declaration
public bool NotifyOnValidationError { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the BindingValidationError event is raised; otherwise, false. The default is false. |
UpdateSourceTrigger
Gets or sets a value that determines the timing of binding source updates.
Declaration
public UpdateSourceTrigger UpdateSourceTrigger { get; set; }
Property Value
Type | Description |
---|---|
UpdateSourceTrigger | A value that determines when the binding source is updated. The default is Default. |
ValidatesOnDataErrors
Gets or sets a value that indicates whether the binding engine will report validation errors from an System.ComponentModel.IDataErrorInfo implementation on the bound data entity.
Declaration
public bool ValidatesOnDataErrors { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the binding engine will report System.ComponentModel.IDataErrorInfo validation errors; otherwise, false. The default is false. |
ValidatesOnExceptions
Gets or sets a value that indicates whether the binding engine will report exception validation errors.
Declaration
public bool ValidatesOnExceptions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the binding engine will report exception validation errors; otherwise, false. The default is false. |
ValidatesOnNotifyDataErrors
Gets or sets a value that indicates whether the binding engine will report validation errors from an System.ComponentModel.INotifyDataErrorInfo implementation on the bound data entity.
Declaration
public bool ValidatesOnNotifyDataErrors { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the binding engine will report System.ComponentModel.INotifyDataErrorInfo validation errors; otherwise, false. The default is true. |