Bindable<T>
A control property that takes either a literal or a
Bind(...) expression.- Kind: Struct
- Namespace: SkeleKit
| Type parameter | Summary |
|---|---|
T | The underlying data type of the property. |
Constructors
Wraps a literal value. Needed for interface-typed properties.
| Parameter | Summary |
|---|---|
T? value | The literal value to encapsulate. |
Properties
Value
The literal value, or the last value a binding produced.
Type: T?
Operators
Implicit Bindable<T>(BindingExpression<T?>)
Creates a bindable container from an active binding expression.
| Parameter | Summary |
|---|---|
BindingExpression<T?> expression | The evaluation rule for the property. |
Returns
Bindable<T>: The wrapped binding expression.
Implicit Bindable<T>(T)
Creates a bindable container from a constant value.
| Parameter | Summary |
|---|---|
T value | The raw value to wrap. |
Returns
Bindable<T>: The wrapped value.