Class SpeedDialItems
Defines a collection to group multiple SpeedDialItem components inside the SfSpeedDial for rendering action items in the SpeedDial control.
Inheritance
Namespace: Syncfusion.Blazor.Buttons
Assembly: Syncfusion.Blazor.dll
Syntax
public class SpeedDialItems : OwningComponentBase
Remarks
To generate dynamic SpeedDialItem components based on a collection, utilize a @foreach
loop within the SpeedDialItems tag directive. Items rendered using this collection will appear as actions in the SpeedDial popup.
Examples
The following code demonstrates how to use SpeedDialItems to configure the SpeedDial with three child items:
<SfSpeedDial Content="Edit">
<SpeedDialItems>
<SpeedDialItem Text="Cut"></SpeedDialItem>
<SpeedDialItem Text="Copy"></SpeedDialItem>
<SpeedDialItem Text="Paste"></SpeedDialItem>
</SpeedDialItems>
</SfSpeedDial>
Constructors
SpeedDialItems()
Declaration
public SpeedDialItems()
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Releases the unmanaged resources used by the SpeedDialItems component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Set to |
Remarks
This method overrides the base Dispose and nullifies references to related objects to avoid memory leaks.