InstancedBinding Class
Holds the result of calling Initiate(AvaloniaObject, AvaloniaProperty, Object, Boolean).
Definition
Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public sealed class InstancedBinding
Public NotInheritable Class InstancedBinding
[<SealedAttribute>]
type InstancedBinding = class end
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) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
OneTime(IObservable(Object), BindingPriority) | Creates a new one-time binding. |
OneTime(Object, BindingPriority) | Creates a new one-time binding with a fixed value. |
OneWay(IObservable(Object), BindingPriority) | Creates a new one-way binding. |
OneWayToSource(IObserver(Object), BindingPriority) | Creates a new one-way to source binding. |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
TwoWay(IObservable(Object), IObserver(Object), BindingPriority) | Creates a new two-way binding. |
WithPriority(BindingPriority) | Creates a copy of the InstancedBinding with a different priority. |