[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ItemsBoundControlBuilder-3

ItemsBoundControlBuilder<T, TControl, TBuilder> Class

Defines a builder to configurate ItemsBoundControl<T>.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
ComponentBuilder<TControl, TBuilder>
ControlBuilder<TControl, TBuilder>
ItemsBoundControlBuilder<T, TControl, TBuilder>
Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class ItemsBoundControlBuilder<T, TControl, TBuilder> : ControlBuilder<TControl, TBuilder>, IHtmlContent where TControl : ItemsBoundControl<T> where TBuilder : ItemsBoundControlBuilder<T, TControl, TBuilder>
Type Parameters
Name Description
T
TControl
TBuilder

Constructors

Name Description
ItemsBoundControlBuilder(TControl)

Creates one ItemsBoundControlBuilder<T, TControl, TBuilder> instance to configurate component.

Methods

Name Description
Bind(Action<CollectionViewServiceBuilder<T>>)

Configurates ItemsSource. Sets ItemsSource settings.

Bind(IEnumerable<T>)

Configurates ItemsSource. Sets ItemsSource settings with a collection.

Bind(string)

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

BindODataSource(Action<ODataCollectionViewServiceBuilder<T>>)

Configurates ItemsSource. Sets ItemsSource settings.

BindODataVirtualSource(Action<ODataVirtualCollectionViewServiceBuilder<T>>)

Configurates ItemsSource. Sets ItemsSource settings.

ItemsSourceId(string)

Configurates ItemsSourceId. Sets the ItemsSourceId specify which CollectionViewService will be used for this control.