[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.BaseCollectionViewServiceTagHelper-2

BaseCollectionViewServiceTagHelper<T, TControl> Class

Inheritance
BaseTagHelper<TControl>
BaseCollectionViewServiceTagHelper<T, TControl>
Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class BaseCollectionViewServiceTagHelper<T, TControl> : ServiceTagHelper<TControl>, ITagHelper, ITagHelperComponent, ITemplateTagHelper where TControl : BaseCollectionViewService<T>
Type Parameters
Name Description
T
TControl

Constructors

Name Description
BaseCollectionViewServiceTagHelper()

Properties

Name Description
CollectionChanged

Configurates the OnClientCollectionChanged client event. Occurs when the collection changes.

CollectionName

Gets the collection name.

CurrentChanged

Configurates the OnClientCurrentChanged client event. Occurs after the current item changes.

CurrentChanging

Configurates the OnClientCurrentChanging client event. Occurs before the current item changes.

CustomDefaultPropertyName

Gets the customized default proeprty name. Overrides this property to customize the default property name for this tag.

GetError

Configurates GetError. Sets a callback that determines whether a specific property of an item contains validation errors.

GroupBy

Configurates C1.Web.Mvc.CollectionViewService<T>.GroupDescriptions. Sets the group descriptions.

NewItemCreator

Configurates NewItemCreator. Sets a function that creates new items for the collection.

OrderBy

Configurates C1.Web.Mvc.CollectionViewService<T>.SortDescriptions. Sets the sort descriptions.

PageChanged

Configurates the OnClientPageChanged client event. Occurs after the page index changes.

PageChanging

Configurates the OnClientPageChanging client event. Occurs before the page index changes.

PageIndex

Configurates PageIndex. Sets the page index.

PageSize

Configurates PageSize. Sets the page size. 0 means to disable paging.

RefreshOnEdit

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

Configurates ShowDatesAsGmt. Sets a value that determines whether dates should be adjusted to look like GMT rather than local dates.

SortNulls

Configurates SortNulls. Sets a value that determines how null values should be sorted.

Methods

Name Description
UpdateProperty(string, object)

Updates the sub-property specified by its name and value.