[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ItemsBoundControlBuilder-3.Bind

Bind Method

Bind(Action<CollectionViewServiceBuilder<T>>)

Configurates ItemsSource. Sets ItemsSource settings.

Declaration
public virtual TBuilder Bind(Action<CollectionViewServiceBuilder<T>> build)
Public Overridable Function Bind(build As Action(Of CollectionViewServiceBuilder(Of T))) As TBuilder
Parameters
Type Name Description
Action<CollectionViewServiceBuilder<T>> build

An action to build the items source.

Returns
Type Description
TBuilder

Current builder.

Bind(IEnumerable<T>)

Configurates ItemsSource. Sets ItemsSource settings with a collection.

Declaration
public virtual TBuilder Bind(IEnumerable<T> value)
Public Overridable Function Bind(value As IEnumerable(Of T)) As TBuilder
Parameters
Type Name Description
IEnumerable<T> value

A collection to specify the source collection.

Returns
Type Description
TBuilder

Current builder.

Bind(string)

Configurates ItemsSource. Sets ItemsSource settings with the specified action url.

Declaration
public virtual TBuilder Bind(string value)
Public Overridable Function Bind(value As String) As TBuilder
Parameters
Type Name Description
string value

An action url to read the data.

Returns
Type Description
TBuilder

Current builder.