menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DropDownMenuItems - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DropDownMenuItems

    Inheritance
    System.Object
    DropDownMenuItems
    Namespace: Syncfusion.Blazor.SplitButtons
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DropDownMenuItems : OwningComponentBase

    Constructors

    DropDownMenuItems()

    Declaration
    public DropDownMenuItems()

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose(Boolean)

    Releases the resources used by the DropDownMenuItems component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true if called from System.IDisposable.Dispose, false if called from a finalizer.

    Remarks

    This method cleans up references to parent components and child content to prevent memory leaks when the component is destroyed.

    OnInitializedAsync()

    A protected method that is invoked when the component has been initialized.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task that represents the asynchronous operation.

    Remarks

    This override is used to notify the parent component, such as SfDropDownButton or SfSplitButton, that the collection of menu items has been established.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved