Table of Contents

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

sectionAlias string
treeAlias string

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

bool

SectionAlias

Gets the section alias.

public string SectionAlias { get; }

Property Value

string

SortOrder

Gets or sets the tree sort order.

public int SortOrder { get; set; }

Property Value

int

TreeAlias

Gets the tree alias.

public string TreeAlias { get; }

Property Value

string

TreeGroup

Gets or sets the group of the tree.

public string? TreeGroup { get; set; }

Property Value

string

TreeTitle

Gets or sets the tree title.

public string? TreeTitle { get; set; }

Property Value

string

TreeUse

Gets the usage of the tree.

public TreeUse? TreeUse { get; set; }

Property Value

TreeUse