[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.DataMapTagHelper

DataMapTagHelper Class

ITagHelper implementation for DataMap.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
[HtmlTargetElement("c1-data-map")]
[RestrictChildren("c1-items-source", new string[] { "c1-odata-source", "c1-odata-virtual-source" })]
public class DataMapTagHelper : SettingTagHelper<DataMap>, ITagHelper, ITagHelperComponent

Constructors

Name Description
DataMapTagHelper()

Properties

Name Description
CollectionName

Gets the collection name.

DisplayMemberPath

Configurates DisplayMemberPath. Sets the name of the property to use as the visual representation of the item.

IsEditable

Configurates IsEditable. Sets a value that indicates whether users should be allowed to enter values.

MapChanged

Configurates the OnClientMapChanged client event. Occurs when the map data changes.

SelectedValuePath

Configurates SelectedValuePath. Sets the name of the property to use as a key for the item (data value).

SortByDisplayValues

Configurates SortByDisplayValues. Sets a value that determines whether to use mapped (display) or raw values when sorting the data. The default value is false.