Skip to main content

Binding Class

A XAML binding.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Markup (in Avalonia.Markup.dll)

public class Binding : BindingBase
View Source
InheritanceObjectBindingBase → Binding

Constructors

Binding()Initializes a new instance of the Binding class.
Binding(String, BindingMode)Initializes a new instance of the Binding class.

Properties

ConverterGets or sets the IValueConverter to use.
(Inherited from BindingBase)
ConverterCultureGets or sets the culture in which to evaluate the converter.
(Inherited from BindingBase)
ConverterParameterGets or sets a parameter to pass to Converter.
(Inherited from BindingBase)
DefaultAnchor
(Inherited from BindingBase)
ElementNameGets or sets the name of the element to use as the binding source.
FallbackValueGets or sets the value to use when the binding is unable to produce a value.
(Inherited from BindingBase)
ModeGets or sets the binding mode.
(Inherited from BindingBase)
NameScope
(Inherited from BindingBase)
PathGets or sets the binding path.
PriorityGets or sets the binding priority.
(Inherited from BindingBase)
RelativeSourceGets or sets the relative source for the binding.
SourceGets or sets the source for the binding.
StringFormatGets or sets the string format.
(Inherited from BindingBase)
TargetNullValueGets or sets the value to use when the binding result is null.
(Inherited from BindingBase)
TypeResolverGets or sets a function used to resolve types from names in the binding path.
UpdateSourceTriggerGets or sets a value that determines the timing of binding source updates for TwoWay and OneWayToSource bindings.
(Inherited from BindingBase)

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
Initiate(AvaloniaObject, AvaloniaProperty, Object, Boolean)
(Overrides BindingBase.Initiate(AvaloniaObject, AvaloniaProperty, Object, Boolean))
Obsolete.
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Data Namespace