Search Results for

    Show / Hide Table of Contents

    Class GridValueConverter

    This ensures that the grid config is merged in with the front-end value

    Inheritance
    System.Object
    JsonValueConverter
    Namespace: Umbraco.Cms.Core.PropertyEditors.ValueConverters
    Assembly: cs.temp.dll.dll
    Syntax
    public class GridValueConverter : JsonValueConverter

    Constructors

    GridValueConverter(PropertyEditorCollection, IGridConfig, ILogger<GridValueConverter>)

    Declaration
    public GridValueConverter(PropertyEditorCollection propertyEditors, IGridConfig config, ILogger<GridValueConverter> logger)
    Parameters
    Type Name Description
    PropertyEditorCollection propertyEditors
    IGridConfig config
    ILogger<GridValueConverter> logger

    Methods

    ConvertSourceToIntermediate(IPublishedElement, IPublishedPropertyType, Object, Boolean)

    Declaration
    public override object ConvertSourceToIntermediate(IPublishedElement owner, IPublishedPropertyType propertyType, object source, bool preview)
    Parameters
    Type Name Description
    IPublishedElement owner
    IPublishedPropertyType propertyType
    System.Object source
    System.Boolean preview
    Returns
    Type Description
    System.Object

    GetPropertyCacheLevel(IPublishedPropertyType)

    Declaration
    public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType)
    Parameters
    Type Name Description
    IPublishedPropertyType propertyType
    Returns
    Type Description
    PropertyCacheLevel

    GetPropertyValueType(IPublishedPropertyType)

    Declaration
    public override Type GetPropertyValueType(IPublishedPropertyType propertyType)
    Parameters
    Type Name Description
    IPublishedPropertyType propertyType
    Returns
    Type Description
    System.Type

    IsConverter(IPublishedPropertyType)

    Declaration
    public override bool IsConverter(IPublishedPropertyType propertyType)
    Parameters
    Type Name Description
    IPublishedPropertyType propertyType
    Returns
    Type Description
    System.Boolean
    In This Article
    • Constructors
      • GridValueConverter(PropertyEditorCollection, IGridConfig, ILogger<GridValueConverter>)
    • Methods
      • ConvertSourceToIntermediate(IPublishedElement, IPublishedPropertyType, Object, Boolean)
      • GetPropertyCacheLevel(IPublishedPropertyType)
      • GetPropertyValueType(IPublishedPropertyType)
      • IsConverter(IPublishedPropertyType)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX