Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IHasChildren

    Marker interface that indicates the type can represent whether an entity has child entities.

    Namespace: Umbraco.Cms.Api.Management.ViewModels
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public interface IHasChildren

    Properties

    View Source

    HasChildren

    Gets or sets a value indicating whether the entity has at least one child entity of its own type.

    Declaration
    bool HasChildren { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    Children are counted regardless of their published state and regardless of the requesting user's permissions, so an entity can report that it has children that the user is not permitted to see.

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