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