ToSourceBindingExpression<TSource, TValue>
A source-only binding that can optionally convert the incoming control value.
- Kind: Class
- Namespace: SkeleKit
- Inherits:
BindingExpression<TValue?>
| Type parameter | Summary |
|---|---|
(class) TSource | The root binding source type. |
TValue | The source value type. |
Methods
ConvertFrom
Converts an incoming control value before writing it to the source.
| Parameter | Summary |
|---|---|
Func<TTarget?, TValue> convert | Converts nullable control values to source values. |
| Type parameter | Summary |
|---|---|
TTarget | The control value type. |
Returns
WritableBindingExpression<TTarget?>: The converted source-only binding.
UpdateOn
Chooses when control changes are written to the source.
| Parameter | Summary |
|---|---|
UpdateTrigger trigger | When to write control changes. |
Returns
WritableBindingExpression<TValue?>: The source-only binding with the selected trigger.