[]
Defines a builder to configurate BaseCollectionViewService<T>.
public abstract class BaseCollectionViewServiceBuilder<T, TControl, TBuilder> : ServiceBuilder<TControl, TBuilder>, IHtmlString, ITemplateBuilder<TBuilder> where TControl : BaseCollectionViewService<T> where TBuilder : BaseCollectionViewServiceBuilder<T, TControl, TBuilder>
Name | Description |
---|---|
T | |
TControl | |
TBuilder |
Name | Description |
---|---|
BaseCollectionViewServiceBuilder(TControl) | Creates one BaseCollectionViewServiceBuilder<T, TControl, TBuilder> instance to configurate |
Name | Description |
---|---|
CalculatedFields(Action<ListItemFactory<CalculatedField, CalculatedFieldBuilder>>) | Configurates CalculatedFields. Sets the calculated fields. |
GetError(string) | Configurates GetError. Sets a callback that determines whether a specific property of an item contains validation errors. |
GroupBy(params string[]) | Configurates GroupDescriptions. Sets the group descriptions with a name list. |
GroupDescriptions(IEnumerable<GroupDescription>) | Configurates GroupDescriptions. Sets the group descriptions. |
MoveToPage(int) | Configurates PageIndex. Sets the page index. |
NewItemCreator(string) | Configurates NewItemCreator. Sets a function that creates new items for the collection. |
OnClientCollectionChanged(string) | Configurates the OnClientCollectionChanged client event. Occurs when the collection changes. |
OnClientCurrentChanged(string) | Configurates the OnClientCurrentChanged client event. Occurs after the current item changes. |
OnClientCurrentChanging(string) | Configurates the OnClientCurrentChanging client event. Occurs before the current item changes. |
OnClientPageChanged(string) | Configurates the OnClientPageChanged client event. Occurs after the page index changes. |
OnClientPageChanging(string) | Configurates the OnClientPageChanging client event. Occurs before the page index changes. |
OrderBy(params string[]) | Configurates SortDescriptions. Sets the sort descriptions with a name list in ascending order. |
OrderByDescending(params string[]) | Configurates SortDescriptions. Sets the sort descriptions with a name list in descending order. |
PageSize(int) | Configurates PageSize. Sets the page size. 0 means to disable paging. |
PropertyGroupDescriptions(Action<ListItemFactory<PropertyGroupDescription, PropertyGroupDescriptionBuilder>>) | Configurates GroupDescriptions. Sets the group descriptions with an action. |
RefreshOnEdit(bool) | Configurates RefreshOnEdit. Sets a value that determines whether the CollectionView should automatically refresh its results (by applying the sort, filter, and grouping operations) after items are edited. |
ShowDatesAsGmt(bool) | Configurates ShowDatesAsGmt. Sets a value that determines whether dates should be adjusted to look like GMT rather than local dates. |
SortDescriptions(Action<ListItemFactory<SortDescription, SortDescriptionBuilder>>) | Configurates SortDescriptions. Sets the sort descriptions. |
SortNulls(CollectionViewSortNulls) | Configurates SortNulls. Sets a value that determines how null values should be sorted. |