Class TreeAttribute
Identifies a section tree.
Inheritance
System.Object
System.Attribute
Namespace: Umbraco.Web.Trees
Assembly: Umbraco.Web.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class TreeAttribute : Attribute, _Attribute
Constructors
View SourceTreeAttribute(String, String)
Initializes a new instance of the TreeAttribute class.
Declaration
public TreeAttribute(string sectionAlias, string treeAlias)
Parameters
Type | Name | Description |
---|---|---|
System.String | sectionAlias | |
System.String | treeAlias |
Properties
View SourceIsSingleNodeTree
Gets or sets a value indicating whether the tree is a single-node tree (no child nodes, full screen app).
Declaration
public bool IsSingleNodeTree { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SectionAlias
Gets the section alias.
Declaration
public string SectionAlias { get; }
Property Value
Type | Description |
---|---|
System.String |
SortOrder
Gets or sets the tree sort order.
Declaration
public int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TreeAlias
Gets the tree alias.
Declaration
public string TreeAlias { get; }
Property Value
Type | Description |
---|---|
System.String |
TreeGroup
Gets or sets the group of the tree.
Declaration
public string TreeGroup { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TreeTitle
Gets or sets the tree title.
Declaration
public string TreeTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TreeUse
Gets the usage of the tree.
Declaration
public TreeUse TreeUse { get; set; }
Property Value
Type | Description |
---|---|
TreeUse |