Show / Hide Table of Contents

Method BindToDataView

| Improve this Doc View Source

BindToDataView<T>(T, Func<DataPresenter<T>>)

Binds child DataSet to DataView.

Declaration
public static RowBinding<DataView> BindToDataView<T>(this T childModel, Func<DataPresenter<T>> dataPresenterCreator)

    where T : Model, new()
Parameters
Type Name Description
T childModel

The model of child DataSet.

System.Func<DataPresenter<T>> dataPresenterCreator

A delegate to create the data presenter.

Returns
Type Description
RowBinding<DataView>

The row binding object.

Type Parameters
Name Description
T

The type of child model.

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