RadzenFabMenu component.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.GetComponentCssClass
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 RadzenFabMenu : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender<RadzenFabMenu Icon="add" ToggleIcon="close" AriaLabel="Open menu">
<RadzenFabMenuItem Text="Folder" Icon="folder" Click=@(args => Console.WriteLine("Folder clicked")) />
<RadzenFabMenuItem Text="Chat" Icon="chat" Click=@(args => Console.WriteLine("Chat clicked")) />
</RadzenFabMenu>Gets or sets the aria-label for the toggle button.
public string AriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label for the toggle button. |
Gets or sets the button class.
public string ButtonClass { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the button class. |
Gets or sets the button style.
public ButtonStyle ButtonStyle { get; set; }
| Type | Description |
|---|---|
| ButtonStyle | Gets or sets the button style. |
Gets or sets the button style CSS.
public string ButtonStyleCss { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the button style CSS. |
Gets or sets the child content.
public RenderFragment ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the child content. |
Gets or sets the direction in which the menu items expand.
public FabMenuDirection Direction { get; set; }
| Type | Description |
|---|---|
| FabMenuDirection | Gets or sets the direction in which the menu items expand. |
Gets or sets a value indicating whether this RadzenFabMenu is disabled.
public bool Disabled { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether this RadzenFabMenu is disabled. |
Gets or sets the gap.
public string Gap { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the gap. |
Gets or sets the icon.
public string Icon { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the icon. |
Gets or sets a value indicating whether the menu is open.
public bool IsOpen { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether the menu is open. |
Gets or sets the IsOpen changed callback.
public EventCallback<bool> IsOpenChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<bool> | Gets or sets the IsOpen changed callback. |
Gets or sets the items style.
public string ItemsStyle { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the items style. |
Gets or sets the shade.
public Shade Shade { get; set; }
| Type | Description |
|---|---|
| Shade | Gets or sets the shade. |
Gets or sets the size.
public ButtonSize Size { get; set; }
| Type | Description |
|---|---|
| ButtonSize | Gets or sets the size. |
Gets or sets the button toggled style.
public ButtonStyle ToggleButtonStyle { get; set; }
| Type | Description |
|---|---|
| ButtonStyle | Gets or sets the button toggled style. |
Gets or sets the toggle icon.
public string ToggleIcon { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the toggle icon. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override Task OnAfterRenderAsync(bool firstRender)
| Type | Name | Description |
|---|---|---|
| bool | firstRender |
| Type | Description |
|---|---|
| Task |
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| Task |
Toggles the menu open/closed state.
public Task ToggleAsync()
| Type | Description |
|---|---|
| Task |