Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IBlockLayoutItem

    Represents a layout item for a block editor.

    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IBlockLayoutItem

    Properties

    View Source

    ContentKey

    Gets or sets the content key.

    Declaration
    Guid ContentKey { get; set; }
    Property Value
    Type Description
    Guid

    The content key.

    View Source

    ContentUdi

    Gets or sets the content UDI.

    Declaration
    [Obsolete("Use ContentKey instead. Scheduled for removal in Umbraco 18.")]
    Udi? ContentUdi { get; set; }
    Property Value
    Type Description
    Udi

    The content UDI.

    View Source

    SettingsKey

    Gets or sets the settings key.

    Declaration
    Guid? SettingsKey { get; set; }
    Property Value
    Type Description
    Guid?

    The settings key.

    View Source

    SettingsUdi

    Gets or sets the settings UDI.

    Declaration
    [Obsolete("Use SettingsKey instead. Scheduled for removal in Umbraco 18.")]
    Udi? SettingsUdi { get; set; }
    Property Value
    Type Description
    Udi

    The settings UDI.

    Methods

    View Source

    ReferencesContent(Guid)

    Determines whether this layout item references the specified content key.

    Declaration
    bool ReferencesContent(Guid key)
    Parameters
    Type Name Description
    Guid key

    The content key to check.

    Returns
    Type Description
    bool

    true if this layout item references the specified content key; otherwise, false.

    View Source

    ReferencesSetting(Guid)

    Determines whether this layout item references the specified settings key.

    Declaration
    bool ReferencesSetting(Guid key)
    Parameters
    Type Name Description
    Guid key

    The settings key to check.

    Returns
    Type Description
    bool

    true if this layout item references the specified settings key; otherwise, false.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX