Search Results for

    Show / Hide Table of Contents
    View Source

    Class TreeController

    The base controller for all tree requests

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ControllerBase
    UmbracoApiControllerBase
    UmbracoApiController
    UmbracoAuthorizedApiController
    TreeControllerBase
    Namespace: Umbraco.Cms.Web.BackOffice.Trees
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public abstract class TreeController : TreeControllerBase, IUmbracoFeature, IDiscoverable, ITree

    Constructors

    View Source

    TreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IEventAggregator)

    Declaration
    protected TreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IEventAggregator eventAggregator)
    Parameters
    Type Name Description
    ILocalizedTextService localizedTextService
    UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection
    IEventAggregator eventAggregator

    Properties

    View Source

    IsSingleNodeTree

    Flag to define if this tree is a single node tree (will never contain child nodes, full screen app)

    Declaration
    public override bool IsSingleNodeTree { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    LocalizedTextService

    Declaration
    protected ILocalizedTextService LocalizedTextService { get; }
    Property Value
    Type Description
    ILocalizedTextService
    View Source

    RootNodeDisplayName

    The name to display on the root node

    Declaration
    public override string RootNodeDisplayName { get; }
    Property Value
    Type Description
    System.String
    View Source

    SectionAlias

    Gets the section alias.

    Declaration
    public override string SectionAlias { get; }
    Property Value
    Type Description
    System.String
    View Source

    SortOrder

    Gets or sets the sort order.

    Declaration
    public override int SortOrder { get; }
    Property Value
    Type Description
    System.Int32

    The sort order.

    View Source

    TreeAlias

    Gets the tree alias.

    Declaration
    public override string TreeAlias { get; }
    Property Value
    Type Description
    System.String
    View Source

    TreeGroup

    Gets the tree group.

    Declaration
    public override string TreeGroup { get; }
    Property Value
    Type Description
    System.String
    View Source

    TreeTitle

    Gets or sets the tree title (fallback if the tree alias isn't localized)

    Declaration
    public override string TreeTitle { get; }
    Property Value
    Type Description
    System.String
    View Source

    TreeUse

    Gets the tree use.

    Declaration
    public override TreeUse TreeUse { get; }
    Property Value
    Type Description
    TreeUse
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IEventAggregator)
    • Properties
      • IsSingleNodeTree
      • LocalizedTextService
      • RootNodeDisplayName
      • SectionAlias
      • SortOrder
      • TreeAlias
      • TreeGroup
      • TreeTitle
      • TreeUse
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX