Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    TreeNodesRenderingNotification(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

    View Source

    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 Source

    Id

    Gets the id of the node rendered

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    System.String
    View Source

    Nodes

    Gets the tree nodes being rendered

    Declaration
    public TreeNodeCollection Nodes { get; }
    Property Value
    Type Description
    TreeNodeCollection
    View Source

    QueryString

    Gets the query string of the current request

    Declaration
    public FormCollection QueryString { get; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Http.FormCollection
    View Source

    TreeAlias

    Gets the alias of the tree rendered

    Declaration
    public string TreeAlias { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TreeNodesRenderingNotification(TreeNodeCollection, FormCollection, String)
      • TreeNodesRenderingNotification(TreeNodeCollection, FormCollection, String, String)
    • Properties
      • Id
      • Nodes
      • QueryString
      • TreeAlias
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX