Class TreeAttribute
- Namespace
- Umbraco.Cms.Web.BackOffice.Trees
- Assembly
- Umbraco.Web.BackOffice.dll
Identifies a section tree.
[AttributeUsage(AttributeTargets.Class)]
public class TreeAttribute : Attribute, ITree
- Inheritance
-
TreeAttribute
- Implements
-
ITree
- Inherited Members
Constructors
TreeAttribute(string, string)
Initializes a new instance of the TreeAttribute class.
public TreeAttribute(string sectionAlias, string treeAlias)
Parameters
Properties
IsSingleNodeTree
Gets or sets a value indicating whether the tree is a single-node tree (no child nodes, full screen app).
public bool IsSingleNodeTree { get; set; }
Property Value
SectionAlias
Gets the section alias.
public string SectionAlias { get; }
Property Value
SortOrder
Gets or sets the tree sort order.
public int SortOrder { get; set; }
Property Value
TreeAlias
Gets the tree alias.
public string TreeAlias { get; }
Property Value
TreeGroup
Gets or sets the group of the tree.
public string? TreeGroup { get; set; }
Property Value
TreeTitle
Gets or sets the tree title.
public string? TreeTitle { get; set; }
Property Value
TreeUse
Gets the usage of the tree.
public TreeUse? TreeUse { get; set; }
Property Value
- TreeUse