Class TreeController
The base controller for all tree requests
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Namespace: Umbraco.Cms.Web.BackOffice.Trees
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public abstract class TreeController : TreeControllerBase, IUmbracoFeature, IDiscoverable, ITree
Constructors
View SourceTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IEventAggregator)
Declaration
protected TreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IEventAggregator eventAggregator)
Parameters
Type | Name | Description |
---|---|---|
ILocalized |
localizedTextService | |
Umbraco |
umbracoApiControllerTypeCollection | |
IEvent |
eventAggregator |
Properties
View SourceIsSingleNodeTree
Flag to define if this tree is a single node tree (will never contain child nodes, full screen app)
Declaration
public override bool IsSingleNodeTree { get; }
Property Value
Type | Description |
---|---|
System. |
LocalizedTextService
Declaration
protected ILocalizedTextService LocalizedTextService { get; }
Property Value
Type | Description |
---|---|
ILocalized |
RootNodeDisplayName
The name to display on the root node
Declaration
public override string RootNodeDisplayName { get; }
Property Value
Type | Description |
---|---|
System. |
SectionAlias
Gets the section alias.
Declaration
public override string SectionAlias { get; }
Property Value
Type | Description |
---|---|
System. |
SortOrder
Gets or sets the sort order.
Declaration
public override int SortOrder { get; }
Property Value
Type | Description |
---|---|
System. |
The sort order. |
TreeAlias
Gets the tree alias.
Declaration
public override string TreeAlias { get; }
Property Value
Type | Description |
---|---|
System. |
TreeGroup
Gets the tree group.
Declaration
public override string TreeGroup { get; }
Property Value
Type | Description |
---|---|
System. |
TreeTitle
Gets or sets the tree title (fallback if the tree alias isn't localized)
Declaration
public override string TreeTitle { get; }
Property Value
Type | Description |
---|---|
System. |
TreeUse
Gets the tree use.
Declaration
public override TreeUse TreeUse { get; }
Property Value
Type | Description |
---|---|
Tree |