BindingExpression<TSource, TOwner, TValue>
A typed binding whose observable path can still be extended or configured.
- Kind: Class
- Namespace: SkeleKit
- Inherits:
BindingExpression<TValue?>
| Type parameter | Summary |
|---|---|
(class) TSource | The root binding source type. |
(class?) TOwner | The object that owns the selected value. |
TValue | The selected source value type. |
Methods
ConvertTo
Converts source values before applying them to the control.
| Parameter | Summary |
|---|---|
Func<TValue, TTarget> convert | Converts source values to control values. |
| Type parameter | Summary |
|---|---|
TTarget | The control value type after conversion. |
Returns
ConvertedBindingExpression<TSource, TOwner, TValue, TTarget>: A converted one-way binding that can optionally be completed as two-way.
Once
Reads once whenever a binding context attaches, without observing later changes.
Returns
OneTimeBindingExpression<TSource, TValue>: A one-time binding that can still convert its control value.
TwoWay
Adds control-to-source updates to this binding.
| Parameter | Summary |
|---|---|
Action<TOwner, TValue> write | Writes the control value to the object that owns the selected property. |
Returns
TwoWayBindingExpression<TSource, TOwner, TValue>: The completed direct two-way binding.