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 |
|
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.