[PR #2229] Fix IconColor in ProfileMenuItem #3148

Closed
opened 2026-01-29 18:22:08 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/2229

State: closed
Merged: Yes


In the RadzenProfileMenuItem component, the icon color was not taken into account if the Path was not specified.
Example:

<RadzenProfileMenu>
    <Template>
        <RadzenIcon Icon="more_horiz"/>
    </Template>
    <ChildContent>
        <RadzenProfileMenuItem Text="View" Icon="visibility" IconColor="var(--rz-primary)"/>
        <RadzenProfileMenuItem Text="Edit" Icon="edit" IconColor="var(--rz-success)"/>
        <RadzenProfileMenuItem Text="Delete" Icon="delete" IconColor="var(--rz-danger)"/>
    </ChildContent>
</RadzenProfileMenu>

Before:
image

After:
image

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/2229 **State:** closed **Merged:** Yes --- In the RadzenProfileMenuItem component, the icon color was not taken into account if the Path was not specified. Example: ```razor <RadzenProfileMenu> <Template> <RadzenIcon Icon="more_horiz"/> </Template> <ChildContent> <RadzenProfileMenuItem Text="View" Icon="visibility" IconColor="var(--rz-primary)"/> <RadzenProfileMenuItem Text="Edit" Icon="edit" IconColor="var(--rz-success)"/> <RadzenProfileMenuItem Text="Delete" Icon="delete" IconColor="var(--rz-danger)"/> </ChildContent> </RadzenProfileMenu> ``` Before: <img width="146" height="202" alt="image" src="https://github.com/user-attachments/assets/fdd10ec1-624a-4c8c-86df-1a60fb5cfca6" /> After: <img width="119" height="205" alt="image" src="https://github.com/user-attachments/assets/8f7c818d-0038-4d92-ac8e-b88811aedfa0" />
claunia added the pull-request label 2026-01-29 18:22:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#3148