Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockEditorData

    Convertable block data from json

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class BlockEditorData

    Constructors

    View Source

    BlockEditorData(String, IEnumerable<ContentAndSettingsReference>, BlockValue)

    Declaration
    public BlockEditorData(string propertyEditorAlias, IEnumerable<ContentAndSettingsReference> references, BlockValue blockValue)
    Parameters
    Type Name Description
    System.String propertyEditorAlias
    IEnumerable<ContentAndSettingsReference> references
    BlockValue blockValue

    Properties

    View Source

    BlockValue

    Returns the reference to the original BlockValue

    Declaration
    public BlockValue BlockValue { get; }
    Property Value
    Type Description
    BlockValue
    View Source

    Empty

    Declaration
    public static BlockEditorData Empty { get; }
    Property Value
    Type Description
    BlockEditorData
    View Source

    Layout

    Returns the layout for this specific property editor

    Declaration
    public JToken? Layout { get; }
    Property Value
    Type Description
    System.Nullable<JToken>
    View Source

    References

    Declaration
    public List<ContentAndSettingsReference> References { get; }
    Property Value
    Type Description
    List<ContentAndSettingsReference>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockEditorData(String, IEnumerable<ContentAndSettingsReference>, BlockValue)
    • Properties
      • BlockValue
      • Empty
      • Layout
      • References
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX