Method AddChild
| Improve this Doc View SourceAddChild<TChild>(ScalarBinding<TChild>, Func<T, TChild>)
Adds child binding.
Declaration
public ScalarCompositeBinding<T> AddChild<TChild>(ScalarBinding<TChild> childBinding, Func<T, TChild> childGetter)
where TChild : UIElement, new()
Parameters
Type | Name | Description |
---|---|---|
ScalarBinding<TChild> | childBinding | The child binding. |
System.Func<T, TChild> | childGetter | Getter to return child view element. |
Returns
Type | Description |
---|---|
ScalarCompositeBinding<T> | This scalar composite binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
TChild | Type of child view element. |