Class DropDownMenuItems
Inherited Members
Namespace: Syncfusion.Blazor.SplitButtons
Assembly: Syncfusion.Blazor.dll
Syntax
public class DropDownMenuItems : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
DropDownMenuItems()
Declaration
public DropDownMenuItems()
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
Releases the resources used by the DropDownMenuItems component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
|
Overrides
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 |
|---|---|
| Task | A Task that represents the asynchronous operation. |
Overrides
Remarks
This override is used to notify the parent component, such as SfDropDownButton or SfSplitButton, that the collection of menu items has been established.