Summary
Holds the result of calling
Initiate(IAvaloniaObject, AvaloniaProperty, object, bool)
.
- Namespace
- Avalonia
.Data - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["InstancedBinding"]
class Type type-node
Syntax
public class 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(IAvaloniaObject, AvaloniaProperty, object, bool)
on a target object.
Constructors
Name | Summary |
---|---|
InstancedBinding |
Initializes a new instance of the InstancedBinding class.
|
Properties
Name | Value | Summary |
---|---|---|
Mode | BindingMode |
Gets the binding mode with which the binding was initiated.
|
Observable | IObservable |
Gets the
Value as an observable.
|
Priority | BindingPriority |
Gets the binding priority.
|
Subject | ISubject |
Gets the
Value as a subject.
|
Value | object |
Gets the value or source of the binding.
|
Methods
Name | Value | Summary |
---|---|---|
OneTime |
InstancedBinding |
Creates a new one-time binding.
static
|
OneTime |
InstancedBinding |
Creates a new one-time binding with a fixed value.
static
|
OneWay |
InstancedBinding |
Creates a new one-way binding.
static
|
OneWayToSource |
InstancedBinding |
Creates a new one-way to source binding.
static
|
TwoWay |
InstancedBinding |
Creates a new two-way binding.
static
|
WithPriority |
InstancedBinding |
Creates a copy of the
InstancedBinding with a different priority.
|