Class RadzenProfileMenuItem
A menu item component used within RadzenProfileMenu to define individual navigation or action items. RadzenProfileMenuItem represents one clickable item in a profile menu dropdown with support for icons, navigation, and custom content. Used inside RadzenProfileMenu to create user profile dropdown menus. Each item can navigate to a page (via Path), trigger an action (via click event), or display custom content (via Template). Common uses in profile menus include account settings, user profile page, logout/sign out, preferences, and help/documentation. Items support icons, images, text, and custom templates for flexible rendering.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenProfileMenuItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposableExamples
Profile menu items in a profile menu:
<RadzenProfileMenu>
    <Template>
        <RadzenIcon Icon="account_circle" /> John Doe
    </Template>
    <ChildContent>
        <RadzenProfileMenuItem Text="Profile" Icon="person" Path="/profile" />
        <RadzenProfileMenuItem Text="Settings" Icon="settings" Path="/settings" />
        <RadzenProfileMenuItem Text="Logout" Icon="logout" Value="logout" />
    </ChildContent>
</RadzenProfileMenu>Constructors
RadzenProfileMenuItem()
A menu item component used within RadzenProfileMenu to define individual navigation or action items. RadzenProfileMenuItem represents one clickable item in a profile menu dropdown with support for icons, navigation, and custom content. Used inside RadzenProfileMenu to create user profile dropdown menus. Each item can navigate to a page (via Path), trigger an action (via click event), or display custom content (via Template). Common uses in profile menus include account settings, user profile page, logout/sign out, preferences, and help/documentation. Items support icons, images, text, and custom templates for flexible rendering.
Declaration
public RadzenProfileMenuItem()Examples
Profile menu items in a profile menu:
<RadzenProfileMenu>
    <Template>
        <RadzenIcon Icon="account_circle" /> John Doe
    </Template>
    <ChildContent>
        <RadzenProfileMenuItem Text="Profile" Icon="person" Path="/profile" />
        <RadzenProfileMenuItem Text="Settings" Icon="settings" Path="/settings" />
        <RadzenProfileMenuItem Text="Logout" Icon="logout" Value="logout" />
    </ChildContent>
</RadzenProfileMenu>Properties
Icon
Gets or sets the icon.
Declaration
[Parameter]
public string Icon { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The icon. | 
IconColor
Gets or sets the icon color.
Declaration
[Parameter]
public string IconColor { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The icon color. | 
Image
Gets or sets the image.
Declaration
[Parameter]
public string Image { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The image. | 
ImageAlternateText
Gets or sets the text.
Declaration
[Parameter]
public string ImageAlternateText { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The text. | 
Match
Gets or sets the navigation link match.
Declaration
[Parameter]
public NavLinkMatch Match { get; set; }Property Value
| Type | Description | 
|---|---|
| NavLinkMatch | The navigation link match. | 
Menu
Gets or sets the menu.
Declaration
[CascadingParameter]
public RadzenProfileMenu Menu { get; set; }Property Value
| Type | Description | 
|---|---|
| RadzenProfileMenu | The menu. | 
Parent
Gets or sets the parent.
Declaration
[CascadingParameter]
public RadzenProfileMenu Parent { get; set; }Property Value
| Type | Description | 
|---|---|
| RadzenProfileMenu | The parent. | 
Path
Gets or sets the path.
Declaration
[Parameter]
public string Path { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The path. | 
Target
Gets or sets the target.
Declaration
[Parameter]
public string Target { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The target. | 
Template
Gets or sets the template.
Declaration
[Parameter]
public RenderFragment Template { get; set; }Property Value
| Type | Description | 
|---|---|
| RenderFragment | The template. | 
Text
Gets or sets the text.
Declaration
[Parameter]
public string Text { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The text. | 
Value
Gets or sets the value.
Declaration
[Parameter]
public string Value { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The value. | 
Methods
BuildRenderTree(RenderTreeBuilder)
A menu item component used within RadzenProfileMenu to define individual navigation or action items. RadzenProfileMenuItem represents one clickable item in a profile menu dropdown with support for icons, navigation, and custom content. Used inside RadzenProfileMenu to create user profile dropdown menus. Each item can navigate to a page (via Path), trigger an action (via click event), or display custom content (via Template). Common uses in profile menus include account settings, user profile page, logout/sign out, preferences, and help/documentation. Items support icons, images, text, and custom templates for flexible rendering.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)Parameters
| Type | Name | Description | 
|---|---|---|
| RenderTreeBuilder | __builder | 
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()Returns
| Type | Description | 
|---|---|
| string | 
Overrides
OnClick(MouseEventArgs)
Handles the Click event.
Declaration
public Task OnClick(MouseEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| MouseEventArgs | args | The MouseEventArgs instance containing the event data. | 
Returns
| Type | Description | 
|---|---|
| Task |