<div class="rz-p-12 rz-text-align-center">
    <RadzenSelectBar @bind-Value=@value TValue="bool">
        <Items>
            <RadzenSelectBarItem Icon="filter" Text="On" Value="true" />
            <RadzenSelectBarItem Icon="filter_none" Text="Off" Value="false" />
        </Items>
    </RadzenSelectBar>
</div>

@code {
    bool value;
}