InstancedBinding Class

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public sealed class InstancedBinding
Inheritance
Object    InstancedBinding

Remarks

Whereas an IBinding holds a description of a binding such as "Bind to the X property on a control's DataContext"; this class represents a binding that has been *instanced* by calling Initiate(AvaloniaObject, AvaloniaProperty, Object, Boolean) on a target object.

Properties

Mode Gets the binding mode with which the binding was initiated.
Priority Gets the binding priority.
Source Gets the binding source observable.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
OneTime(IObservableObject, BindingPriority) Creates a new one-time binding.
OneTime(Object, BindingPriority) Creates a new one-time binding with a fixed value.
OneWay(IObservableObject, BindingPriority) Creates a new one-way binding.
OneWayToSource(IObserverObject, BindingPriority) Creates a new one-way to source binding.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TwoWay(IObservableObject, IObserverObject, BindingPriority) Creates a new two-way binding.
WithPriority(BindingPriority) Creates a copy of the InstancedBinding with a different priority.

See Also