A Blazor-style UI component (VerticalMenu) derived from Sandbox.UI.Panel that renders a root element containing the provided RenderFragment named Options. It also exposes a parameter Value to hold the currently selected value of sub-menus.
@using Sandbox;
@using Sandbox.UI;
@inherits Panel
@namespace Sandbox
<root>
@Options
</root>
@code
{
[Parameter] public RenderFragment Options { get; set; }
/// <summary>
/// The currently selected value of any sub-menus
/// </summary>
[Parameter] public object Value { get; set; }
}