RadzenProfileMenu component.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponentWithChildren.ChildContent
RadzenComponent.SetParametersAsync
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenProfileMenu : RadzenComponentWithChildren, IComponent, IHandleEvent, IHandleAfterRender<RadzenProfileMenu>
<RadzenProfileMenuItem Text="Data">
<RadzenProfileMenuItem Text="Orders" Path="orders" />
<RadzenProfileMenuItem Text="Employees" Path="employees" />
</RadzenProfileMenuItemItem>
</RadzenProfileMenu>Gets or sets the click callback.
public EventCallback<RadzenProfileMenuItem> Click { get; set; }
| Type | Description |
|---|---|
| EventCallback<RadzenProfileMenuItem> | Gets or sets the click callback. |
Show/Hide the "arrow down" icon
public bool ShowIcon { get; set; }
| Type | Description |
|---|---|
| bool | Show/Hide the "arrow down" icon |
Gets or sets the template.
public RenderFragment Template { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the template. |
Gets or sets the toggle aria label text.
public string ToggleAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the toggle aria label text. |
Adds the item.
public void AddItem(RadzenProfileMenuItem item)
| Type | Name | Description |
|---|---|---|
| RadzenProfileMenuItem | item | The item. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override string GetComponentCssClass()
| Type | Description |
|---|---|
| string |
Toggles the menu open/close state.
public Task Toggle(MouseEventArgs args)
| Type | Name | Description |
|---|---|---|
| MouseEventArgs | args | The MouseEventArgs instance containing the event data. |
| Type | Description |
|---|---|
| Task |