BindingFactory
Builds binding expressions for typed sources.
Prefer the
Bind(...)helper onContentView<TViewModel>.
- Kind: Class
- Namespace: SkeleKit
Methods
Bind
Starts a binding that can only write control values to a source.
| Type parameter | Summary |
|---|---|
(class) TSource | The binding source type. |
Returns
ToSourceBindingBuilder<TSource>: A source-only binding builder.
Bind
Starts a one-way binding that reads a source property.
| Parameter | Summary |
|---|---|
Func<TSource, TValue> read | The source property to read. |
(optional) string? path | The captured source expression used to identify the property path. |
| Type parameter | Summary |
|---|---|
(class) TSource | The binding source type. |
TValue | The property value type. |
Returns
BindingExpression<TSource, TSource, TValue>: A binding whose path can be extended or converted.