Show / Hide Table of Contents

Method AddChild

| Improve this Doc View Source

AddChild<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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest