[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ITemplateBuilder-1.TemplateBind

TemplateBind Method

TemplateBind(string, string)

When the builder works in template mode, bind the property which name is specified to some item which name is specified.

Declaration
T TemplateBind(string propertyName, string boundName)
Parameters
Type Name Description
string propertyName

The specified property name.

string boundName

The specified item name in DataContext.

Returns
Type Description
T

Current builder.

Remarks

It only works in template mode.