Skip to main content

Binding Class

Definition

Namespace:Avalonia.Data
Assembly:Avalonia.Markup
Package:Avalonia
Source:Binding.cs

Provides limited compatibility with the 11.x Binding class. Use Avalonia.Data.ReflectionBinding for new code.

public class Binding

Inheritance: object -> BindingBase -> ReflectionBinding -> Binding

Constructors

NameDescription
Binding (2 overloads)No summary available.

Binding overloads

Binding Constructor

public Binding()

Binding Constructor

public Binding(string path)
Parameters

path string

Properties

NameDescription
ConverterGets or sets the Avalonia.Data.Converters.IValueConverter to use. Inherited from ReflectionBinding.
ConverterCultureGets or sets the culture in which to evaluate the converter. Inherited from ReflectionBinding.
ConverterParameterGets or sets a parameter to pass to Avalonia.Data.ReflectionBinding.Converter. Inherited from ReflectionBinding.
DelayGets or sets the amount of time, in milliseconds, to wait before updating the binding source after the value on the target changes. Inherited from ReflectionBinding.
ElementNameGets or sets the name of the element to use as the binding source. Inherited from ReflectionBinding.
FallbackValueGets or sets the value to use when the binding is unable to produce a value. Inherited from ReflectionBinding.
ModeGets or sets the binding mode. Inherited from ReflectionBinding.
PathGets or sets the binding path. Inherited from ReflectionBinding.
PriorityGets or sets the binding priority. Inherited from ReflectionBinding.
RelativeSourceGets or sets the relative source for the binding. Inherited from ReflectionBinding.
SourceGets or sets the source for the binding. Inherited from ReflectionBinding.
StringFormatGets or sets the string format. Inherited from ReflectionBinding.
TargetNullValueGets or sets the value to use when the binding result is null. Inherited from ReflectionBinding.
TypeResolverGets or sets a function used to resolve types from names in the binding path. Inherited from ReflectionBinding.
UpdateSourceTriggerGets or sets a value that determines the timing of binding source updates for Avalonia.Data.BindingMode.TwoWay and Avalonia.Data.BindingMode.OneWayToSource bindings. Inherited from ReflectionBinding.