Share via


MultiBinding Class

Definition

A binding that combines multiple source bindings into a single target value using an IMultiValueConverter.

public ref class MultiBinding sealed : Microsoft::Maui::Controls::BindingBase
[Microsoft.Maui.Controls.ContentProperty("Bindings")]
public sealed class MultiBinding : Microsoft.Maui.Controls.BindingBase
[<Microsoft.Maui.Controls.ContentProperty("Bindings")>]
type MultiBinding = class
    inherit BindingBase
Public NotInheritable Class MultiBinding
Inherits BindingBase
Inheritance
MultiBinding
Attributes

Constructors

Name Description
MultiBinding()

Properties

Name Description
Bindings

Gets or sets the collection of BindingBase objects whose values are combined by this multi-binding.

Converter

Gets or sets the IMultiValueConverter used to combine the source values into a target value.

ConverterParameter

Gets or sets an optional parameter to pass to the Converter.

FallbackValue

Gets or sets the value used when the binding cannot produce a source value (e.g. path not found, conversion failure).

(Inherited from BindingBase)
Mode

Gets or sets the mode for this binding.

(Inherited from BindingBase)
StringFormat

Gets or sets the string format applied to the bound value.

(Inherited from BindingBase)
TargetNullValue

Gets or sets the value to use when the binding successfully resolves the source path and the resulting source value is null.

(Inherited from BindingBase)

Methods

Name Description
ThrowIfApplied()

Throws InvalidOperationException if the binding has already been applied.

(Inherited from BindingBase)

Applies to