Skip to content

NavigationGroupAttribute class

namespace: Serenity.Navigation   assemblySerenity.Net.Core

Defines a navigation group, which is usually the icons on the sidebar band.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class NavigationGroupAttribute : NavigationItemAttribute
parameter description
order Order.
title Title.
icon Icon class.

Public Members

name description
NavigationGroupAttribute(…) Defines a navigation group, which is usually the icons on the sidebar band. (2 constructors)
Default { get; set; } This group automatically includes siblings that do not match any other groups.
Include { get; set; } This is a list used to move items that are not normally under this item based on path (to create groups). For example, if this item is named A, and want to move all menus under B/.. or C/.. to A, the list should be ["B/", "C/"]. To move B and C themselves under A, list should be ["B", "C"].

Remarks

Creates a new instance of the attribute.

See Also