Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockListPropertyEditorBase

    Abstract base class for block list based editors.

    Inheritance
    System.Object
    DataEditor
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public abstract class BlockListPropertyEditorBase : DataEditor, IDataEditor, IDiscoverable

    Constructors

    View Source

    BlockListPropertyEditorBase(IDataValueEditorFactory, IBlockValuePropertyIndexValueFactory)

    Initializes a new instance of the BlockListPropertyEditorBase class.

    Declaration
    protected BlockListPropertyEditorBase(IDataValueEditorFactory dataValueEditorFactory, IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory
    View Source

    BlockListPropertyEditorBase(IDataValueEditorFactory, IBlockValuePropertyIndexValueFactory, IJsonSerializer)

    Initializes a new instance of the BlockListPropertyEditorBase class.

    Declaration
    protected BlockListPropertyEditorBase(IDataValueEditorFactory dataValueEditorFactory, IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory, IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    IBlockValuePropertyIndexValueFactory blockValuePropertyIndexValueFactory
    IJsonSerializer jsonSerializer

    Properties

    View Source

    PropertyIndexValueFactory

    Gets the index value factory for the editor.

    Declaration
    public override IPropertyIndexValueFactory PropertyIndexValueFactory { get; }
    Property Value
    Type Description
    IPropertyIndexValueFactory

    Methods

    View Source

    CreateBlockEditorDataConverter()

    Instantiates a new BlockEditorDataConverter<TValue, TLayout> for use with the block list editor property value editor.

    Declaration
    protected virtual BlockEditorDataConverter<BlockListValue, BlockListLayoutItem> CreateBlockEditorDataConverter()
    Returns
    Type Description
    BlockEditorDataConverter<BlockListValue, BlockListLayoutItem>

    A new instance of BlockListEditorDataConverter.

    View Source

    CreateValueEditor()

    Creates a value editor instance.

    Declaration
    protected override IDataValueEditor CreateValueEditor()
    Returns
    Type Description
    IDataValueEditor
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockListPropertyEditorBase(IDataValueEditorFactory, IBlockValuePropertyIndexValueFactory)
      • BlockListPropertyEditorBase(IDataValueEditorFactory, IBlockValuePropertyIndexValueFactory, IJsonSerializer)
    • Properties
      • PropertyIndexValueFactory
    • Methods
      • CreateBlockEditorDataConverter()
      • CreateValueEditor()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX