Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenFabMenu

    RadzenFabMenu component.

    Inheritance
    object
    ComponentBase
    RadzenComponent
    RadzenFabMenu
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(MouseEventArgs)
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.GetComponentCssClass()
    RadzenComponent.Debounce(Func<Task>, int)
    RadzenComponent.OnInitialized()
    RadzenComponent.RaiseContextMenu(MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.Reference
    RadzenComponent.CurrentStyle
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenFabMenu : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Examples
    <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>

    Constructors

    RadzenFabMenu()

    RadzenFabMenu component.

    Declaration
    public RadzenFabMenu()
    Examples
    <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>

    Properties

    AriaLabel

    Gets or sets the aria-label for the toggle button.

    Declaration
    [Parameter]
    public string AriaLabel { get; set; }
    Property Value
    Type Description
    string

    The aria-label for the toggle button.

    ButtonClass

    Gets or sets the button class.

    Declaration
    [Parameter]
    public string ButtonClass { get; set; }
    Property Value
    Type Description
    string

    The button class.

    ButtonStyle

    Gets or sets the button style.

    Declaration
    [Parameter]
    public ButtonStyle ButtonStyle { get; set; }
    Property Value
    Type Description
    ButtonStyle

    The button style.

    ButtonStyleCss

    Gets or sets the button style CSS.

    Declaration
    [Parameter]
    public string ButtonStyleCss { get; set; }
    Property Value
    Type Description
    string

    The button style CSS.

    ChildContent

    Gets or sets the child content.

    Declaration
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    The child content.

    Direction

    Gets or sets the direction in which the menu items expand.

    Declaration
    [Parameter]
    public FabMenuDirection Direction { get; set; }
    Property Value
    Type Description
    FabMenuDirection

    The expansion direction.

    Disabled

    Gets or sets a value indicating whether this RadzenFabMenu is disabled.

    Declaration
    [Parameter]
    public bool Disabled { get; set; }
    Property Value
    Type Description
    bool

    true if disabled; otherwise, false.

    Gap

    Gets or sets the gap.

    Declaration
    [Parameter]
    public string Gap { get; set; }
    Property Value
    Type Description
    string

    The gap.

    Icon

    Gets or sets the icon.

    Declaration
    [Parameter]
    public string Icon { get; set; }
    Property Value
    Type Description
    string

    The icon.

    IsOpen

    Gets or sets a value indicating whether the menu is open.

    Declaration
    [Parameter]
    public bool IsOpen { get; set; }
    Property Value
    Type Description
    bool

    true if the menu is open; otherwise, false.

    IsOpenChanged

    Gets or sets the IsOpen changed callback.

    Declaration
    [Parameter]
    public EventCallback<bool> IsOpenChanged { get; set; }
    Property Value
    Type Description
    EventCallback<bool>

    The IsOpen changed callback.

    ItemsStyle

    Gets or sets the items style.

    Declaration
    [Parameter]
    public string ItemsStyle { get; set; }
    Property Value
    Type Description
    string

    The items style.

    Shade

    Gets or sets the shade.

    Declaration
    [Parameter]
    public Shade Shade { get; set; }
    Property Value
    Type Description
    Shade

    The shade.

    Size

    Gets or sets the size.

    Declaration
    [Parameter]
    public ButtonSize Size { get; set; }
    Property Value
    Type Description
    ButtonSize

    The size.

    ToggleButtonStyle

    Gets or sets the button toggled style.

    Declaration
    [Parameter]
    public ButtonStyle ToggleButtonStyle { get; set; }
    Property Value
    Type Description
    ButtonStyle

    The button toggled style.

    ToggleIcon

    Gets or sets the toggle icon.

    Declaration
    [Parameter]
    public string ToggleIcon { get; set; }
    Property Value
    Type Description
    string

    The toggle icon.

    ToggleShade

    Gets or sets the button toggled shade.

    Declaration
    [Parameter]
    public Shade ToggleShade { get; set; }
    Property Value
    Type Description
    Shade

    The button toggled shade.

    Variant

    Gets or sets the variant.

    Declaration
    [Parameter]
    public Variant Variant { get; set; }
    Property Value
    Type Description
    Variant

    The variant.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    RadzenFabMenu component.

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    CloseAsync()

    Closes the menu.

    Declaration
    [JSInvokable]
    public Task CloseAsync()
    Returns
    Type Description
    Task

    Dispose()

    Detaches event handlers and disposes Reference.

    Declaration
    public override void Dispose()
    Overrides
    RadzenComponent.Dispose()

    OnAfterRenderAsync(bool)

    Called by the Blazor runtime.

    Declaration
    protected override Task OnAfterRenderAsync(bool firstRender)
    Parameters
    Type Name Description
    bool firstRender
    Returns
    Type Description
    Task
    Overrides
    RadzenComponent.OnAfterRenderAsync(bool)

    SetParametersAsync(ParameterView)

    Called by the Blazor runtime when parameters are set.

    Declaration
    public override Task SetParametersAsync(ParameterView parameters)
    Parameters
    Type Name Description
    ParameterView parameters

    The parameters.

    Returns
    Type Description
    Task
    Overrides
    RadzenComponent.SetParametersAsync(ParameterView)

    ToggleAsync()

    Toggles the menu open/closed state.

    Declaration
    public Task ToggleAsync()
    Returns
    Type Description
    Task

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT