[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.CollectionViewNavigatorBuilder

CollectionViewNavigatorBuilder Class

Defines a builder to configurate CollectionViewNavigator.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class CollectionViewNavigatorBuilder : ControlBuilder<CollectionViewNavigator, CollectionViewNavigatorBuilder>, IHtmlString

Constructors

Name Description
CollectionViewNavigatorBuilder(CollectionViewNavigator)

Creates one CollectionViewNavigatorBuilder instance to configurate component.

Methods

Name Description
ByPage(bool)

Configurates ByPage. Sets a value that determines whether should navigate items or pages.

HeaderFormat(string)

Configurates HeaderFormat. Sets the format string used to display the current total item/page values in the control header.

ItemsSourceId(string)

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

RepeatButtons(bool)

Configurates RepeatButtons. Sets a value that determines whether the next/previous buttons should act as repeat buttons, firing repeatedly as long as the button remains pressed.

Extension Methods