Search Results for

    Show / Hide Table of Contents
    View Source

    Class Tree

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Trees
    Assembly: Umbraco.Core.dll
    Syntax
    public class Tree : ITree

    Constructors

    View Source

    Tree(Int32, String, String, String, String, TreeUse, Type, Boolean)

    Declaration
    public Tree(int sortOrder, string applicationAlias, string group, string alias, string title, TreeUse use, Type treeControllerType, bool isSingleNodeTree)
    Parameters
    Type Name Description
    System.Int32 sortOrder
    System.String applicationAlias
    System.String group
    System.String alias
    System.String title
    TreeUse use
    Type treeControllerType
    System.Boolean isSingleNodeTree

    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 bool IsSingleNodeTree { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    SectionAlias

    Gets the section alias.

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

    SortOrder

    Gets or sets the sort order.

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

    The sort order.

    View Source

    TreeAlias

    Gets the tree alias.

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

    TreeControllerType

    Gets the tree controller type.

    Declaration
    public Type TreeControllerType { get; }
    Property Value
    Type Description
    Type
    View Source

    TreeGroup

    Gets the tree group.

    Declaration
    public 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 string TreeTitle { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    TreeUse

    Gets the tree use.

    Declaration
    public TreeUse TreeUse { get; set; }
    Property Value
    Type Description
    TreeUse

    Methods

    View Source

    GetRootNodeDisplayName(ITree, ILocalizedTextService)

    Declaration
    public static string GetRootNodeDisplayName(ITree tree, ILocalizedTextService textService)
    Parameters
    Type Name Description
    ITree tree
    ILocalizedTextService textService
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • Tree(Int32, String, String, String, String, TreeUse, Type, Boolean)
    • Properties
      • IsSingleNodeTree
      • SectionAlias
      • SortOrder
      • TreeAlias
      • TreeControllerType
      • TreeGroup
      • TreeTitle
      • TreeUse
    • Methods
      • GetRootNodeDisplayName(ITree, ILocalizedTextService)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX