Search Results for

    Show / Hide Table of Contents
    View Source

    Class MenuRenderingNotification

    A notification that allows developers to modify the menu that is being rendered

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class MenuRenderingNotification : INotification
    Remarks

    Developers can add/remove/replace/insert/update/etc... any of the tree items in the collection.

    Constructors

    View Source

    MenuRenderingNotification(String, MenuItemCollection, FormCollection, String)

    Declaration
    public MenuRenderingNotification(string nodeId, MenuItemCollection menu, FormCollection queryString, string treeAlias)
    Parameters
    Type Name Description
    System.String nodeId
    MenuItemCollection menu
    Microsoft.AspNetCore.Http.FormCollection queryString
    System.String treeAlias

    Properties

    View Source

    Menu

    The menu being rendered

    Declaration
    public MenuItemCollection Menu { get; }
    Property Value
    Type Description
    MenuItemCollection
    View Source

    NodeId

    The tree node id that the menu is rendering for

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

    QueryString

    The query string of the current request

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

    TreeAlias

    The alias of the tree the menu is rendering for

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