Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockValue

    Represents a block value.

    Inheritance
    System.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<System.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
    System.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
    public virtual bool SupportsBlockLayoutAlias(string alias)
    Parameters
    Type Name Description
    System.String alias
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • ContentData
      • Expose
      • Layout
      • PropertyEditorAlias
      • SettingsData
    • Methods
      • SupportsBlockLayoutAlias(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX