Skip to main content

MultiBinding Class

Definition​

Namespace:Avalonia.Data
Assembly:Avalonia.Base
Package:Avalonia

A XAML binding that calculates an aggregate value from multiple child Avalonia.Data.MultiBinding.Bindings.

public class MultiBinding

Inheritance: object -> BindingBase -> MultiBinding

Constructors​

NameDescription
MultiBindingNo summary available.

MultiBinding Constructor​

public MultiBinding()

Properties​

NameDescription
BindingsGets the collection of child bindings.
ConverterGets or sets the Avalonia.Data.Converters.IMultiValueConverter to use.
ConverterCultureGets or sets the culture in which to evaluate the converter.
ConverterParameterGets or sets a parameter to pass to Avalonia.Data.MultiBinding.Converter.
FallbackValueGets or sets the value to use when the binding is unable to produce a value.
ModeGets or sets the binding mode.
PriorityGets or sets the binding priority.
RelativeSourceGets or sets the relative source for the binding.
StringFormatGets or sets the string format.
TargetNullValueGets or sets the value to use when the binding result is null.

Bindings Property​

Gets the collection of child bindings.

public System.Collections.Generic.IList<Avalonia.Data.BindingBase> Bindings { get; set; }

Converter Property​

Gets or sets the Avalonia.Data.Converters.IMultiValueConverter to use.

public Avalonia.Data.Converters.IMultiValueConverter Converter { get; set; }

ConverterCulture Property​

Gets or sets the culture in which to evaluate the converter.

public System.Globalization.CultureInfo ConverterCulture { get; set; }

Value​

The default value is null.

Remarks​

If this property is not set then System.Globalization.CultureInfo.CurrentCulture will be used.

ConverterParameter Property​

Gets or sets a parameter to pass to Avalonia.Data.MultiBinding.Converter.

public object ConverterParameter { get; set; }

FallbackValue Property​

Gets or sets the value to use when the binding is unable to produce a value.

public object FallbackValue { get; set; }

Mode Property​

Gets or sets the binding mode.

public Avalonia.Data.BindingMode Mode { get; set; }

Priority Property​

Gets or sets the binding priority.

public Avalonia.Data.BindingPriority Priority { get; set; }

RelativeSource Property​

Gets or sets the relative source for the binding.

public Avalonia.Data.RelativeSource RelativeSource { get; set; }

StringFormat Property​

Gets or sets the string format.

public string StringFormat { get; set; }

TargetNullValue Property​

Gets or sets the value to use when the binding result is null.

public object TargetNullValue { get; set; }