BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

Icons in submenu #3268


User avatar
0
cleverplatform created

Hi

I want to ask how to force Menu Contributor to display submenu item icon ?

Thanks

  • ABP Framework version: v5.2.2
  • UI type: MVC


2 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, you can define the icon when defining a new menu item like below:

    context.Menu.AddItem(
        new ApplicationMenuItem("MyProject.Crm", l["Menu:CRM"])
            .AddItem(new ApplicationMenuItem(
                    name: "Name",
                    displayName: "Display",
                    url: "/crm/my-url",
                    icon: "fa fa-tag" //define your Font Awesome icon here.
                )
            ));
    
    • Manipulating existing menu item and changing the icon of it, please see the Navigation Menu documentation.
  • User Avatar
    0
    cleverplatform created

    Thanks Engincan.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.