ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc.TagHelpers Namespace / ODataCollectionViewServiceTagHelper Class / DataTypes Property

In This Topic
    DataTypes Property (ODataCollectionViewServiceTagHelper)
    In This Topic
    Configurates C1.Web.Mvc.BaseODataCollectionViewService<T>.DataTypes. Sets an object to be used as a map for coercing data types when loading the data.
    Syntax
    'Declaration
     
    Public Property DataTypes As IDictionary(Of String,DataType)
    public IDictionary<string,DataType> DataTypes {get; set;}
    Remarks
    The object keys represent the field names and the values are C1.Web.Mvc.Grid.DataType values that indicate how the data should be coerced.
    See Also