Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockValue

    Represents a block value.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class BlockValue

    Properties

    View Source

    ContentData

    Gets or sets the content data.

    Declaration
    public List<BlockItemData> ContentData { get; set; }
    Property Value
    Type Description
    List<BlockItemData>

    The content data.

    View Source

    Expose

    Gets or sets the availability of blocks per variation.

    Declaration
    public IList<BlockItemVariation> Expose { get; set; }
    Property Value
    Type Description
    IList<BlockItemVariation>
    Remarks

    Only applicable for block level variance.

    View Source

    Layout

    Gets or sets the layout for specific property editors.

    Declaration
    public IDictionary<string, IEnumerable<IBlockLayoutItem>> Layout { get; set; }
    Property Value
    Type Description
    IDictionary<string, IEnumerable<IBlockLayoutItem>>

    The layout.

    View Source

    PropertyEditorAlias

    Gets the property editor alias of the current layout.

    Declaration
    public abstract string PropertyEditorAlias { get; }
    Property Value
    Type Description
    string

    The property editor alias of the current layout.

    View Source

    SettingsData

    Gets or sets the settings data.

    Declaration
    public List<BlockItemData> SettingsData { get; set; }
    Property Value
    Type Description
    List<BlockItemData>

    The settings data.

    Methods

    View Source

    SupportsBlockLayoutAlias(string)

    Declaration
    [Obsolete("Will be removed in V18.")]
    public virtual bool SupportsBlockLayoutAlias(string alias)
    Parameters
    Type Name Description
    string alias
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX