Binding Class

Summary

A XAML binding.
Namespace
Avalonia.Data
Interfaces
Base Types
graph BT Type-->Base0["BindingBase"] click Base0 "/api/Avalonia.Data/BindingBase" Base0-->Base1["object"] Type-.->Interface0["IBinding"] click Interface0 "/api/Avalonia.Data/IBinding" Type["Binding"] class Type type-node

Syntax

public class Binding : BindingBase, IBinding

Constructors

Name Summary
Binding() Initializes a new instance of the Binding class.
Binding(string, BindingMode) Initializes a new instance of the Binding class.

Properties

Name Value Summary
Converter IValueConverter?
Gets or sets the IValueConverter to use.
Inherited from BindingBase
ConverterParameter object?
Gets or sets a parameter to pass to Converter.
Inherited from BindingBase
DefaultAnchor WeakReference?
Inherited from BindingBase
ElementName string?
Gets or sets the name of the element to use as the binding source.
FallbackValue object?
Gets or sets the value to use when the binding is unable to produce a value.
Inherited from BindingBase
Mode BindingMode
Gets or sets the binding mode.
Inherited from BindingBase
NameScope WeakReference<INameScope>?
Inherited from BindingBase
Path string
Gets or sets the binding path.
Priority BindingPriority
Gets or sets the binding priority.
Inherited from BindingBase
RelativeSource RelativeSource?
Gets or sets the relative source for the binding.
Source object?
Gets or sets the source for the binding.
StringFormat string?
Gets or sets the string format.
Inherited from BindingBase
TargetNullValue object?
Gets or sets the value to use when the binding result is null.
Inherited from BindingBase
TypeResolver Func<string, string, Type>?
Gets or sets a function used to resolve types from names in the binding path.

Methods