API Reference
TablerNavigationItemConfig
Configuration for a navigation item.
Inheritance
- Object
- TablerNavigationItemConfig
Constructors
public TablerNavigationItemConfig() #Inherited Methods
Properties
public String Text { get; set; } #Text displayed for the item.
public String PageId { get; set; } #Identifier of the page this item links to.
public String Href { get; set; } #Hyperlink associated with the item.
public Nullable<TablerIconType> Icon { get; set; } #Optional icon to display next to the text.
public Nullable<TablerColor> IconColor { get; set; } #Color of the icon when one is set.
public String Badge { get; set; } #Text to display inside a badge.
public Nullable<TablerColor> BadgeColor { get; set; } #Color of the badge when displayed.
public Boolean Active { get; set; } #Indicates whether the item should be marked as active.
public Boolean Disabled { get; set; } #Indicates whether the item is disabled.
public Boolean IsDivider { get; set; } #Indicates whether the item is a divider.
public Boolean IsHeader { get; set; } #Indicates the item is a non-clickable header inside a dropdown menu.
public Boolean IsSection { get; set; } #Indicates the item is a section subtitle (used in vertical nav).
public List<TablerNavigationItemConfig> Children { get; set; } #Child items used for dropdowns.
public Boolean HasChildren { get; } #Checks if this item has children (is a dropdown).
public Nullable<Int32> Columns { get; set; } #Fixed number of columns for top-level dropdown (1-3). If null, auto or default is used.
public Nullable<Int32> ColumnThreshold { get; set; } #Auto columnization threshold for top-level dropdown. If item count >= threshold, columns are used.
public Boolean IsSpecialAction { get; set; } #Indicates this is a special action item (notifications, user menu, etc.)
public Boolean IsNotificationDropdown { get; set; } #Indicates this is a notification dropdown.
public Boolean IsDarkModeToggle { get; set; } #Indicates this is a dark mode toggle.
public String AvatarUrl { get; set; } #Avatar URL for user menu items.
public String Description { get; set; } #Description text for items (used in notifications, user info, etc.)