View Source
Class Tree
Inheritance
System.Object
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
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
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
View Source
TreeGroup
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
Declaration
public TreeUse TreeUse { get; set; }
Property Value
Methods
View Source
GetRootNodeDisplayName(ITree, ILocalizedTextService)
Declaration
public static string GetRootNodeDisplayName(ITree tree, ILocalizedTextService textService)
Parameters
Returns
Type |
Description |
System.String |
|