Show / Hide Table of Contents

Class MultiBinding

Describes a collection of Binding objects attached to a single binding target property.

Inheritance
System.Object
MarkupExtension
BindingBase
MultiBinding
Implements
IMarkupExtension<System.Object>
Inherited Members
BindingBase._stringFormat
BindingBase.FallbackValue
BindingBase.TargetNullValue
BindingBase.StringFormat
BindingBase.CheckSealed()
BindingBase.ProvideValue(IServiceProvider)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Data
Assembly: OpenSilver.dll
Syntax
public class MultiBinding : BindingBase, IMarkupExtension<object>

Constructors

| Improve this Doc View Source

MultiBinding()

Initializes a new instance of the MultiBinding class.

Declaration
public MultiBinding()

Properties

| Improve this Doc View Source

Bindings

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IMarkupExtension<T>
  • Improve this Doc
  • View Source