Class TreeNodesRenderingNotification
A notification that allows developers to modify the tree node collection that is being rendered
Inheritance
System.Object
      Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class TreeNodesRenderingNotification : INotification
  Remarks
Developers can add/remove/replace/insert/update/etc... any of the tree items in the collection.
Constructors
View SourceTreeNodesRenderingNotification(TreeNodeCollection, FormCollection, String)
Initializes a new instance of the TreeNodesRenderingNotification class. Constructor
Declaration
public TreeNodesRenderingNotification(TreeNodeCollection nodes, FormCollection queryString, string treeAlias)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TreeNodeCollection | nodes | The tree nodes being rendered  | 
      
| Microsoft.AspNetCore.Http.FormCollection | queryString | The query string of the current request  | 
      
| System.String | treeAlias | The alias of the tree rendered  | 
      
TreeNodesRenderingNotification(TreeNodeCollection, FormCollection, String, String)
Initializes a new instance of the TreeNodesRenderingNotification class.
Declaration
public TreeNodesRenderingNotification(TreeNodeCollection nodes, FormCollection queryString, string treeAlias, string id)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TreeNodeCollection | nodes | The tree nodes being rendered  | 
      
| Microsoft.AspNetCore.Http.FormCollection | queryString | The query string of the current request  | 
      
| System.String | treeAlias | The alias of the tree rendered  | 
      
| System.String | id | The id of the node rendered  | 
      
Properties
View SourceId
Gets the id of the node rendered
Declaration
public string Id { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Nodes
Gets the tree nodes being rendered
Declaration
public TreeNodeCollection Nodes { get; }
  Property Value
| Type | Description | 
|---|---|
| TreeNodeCollection | 
QueryString
Gets the query string of the current request
Declaration
public FormCollection QueryString { get; }
  Property Value
| Type | Description | 
|---|---|
| Microsoft.AspNetCore.Http.FormCollection | 
TreeAlias
Gets the alias of the tree rendered
Declaration
public string TreeAlias { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String |