Library Blazor Components ToolButton IsChecked

IsChecked

Render button as checked.

razor
[Parameter]
public bool IsChecked { get; set; }

Example

razor
<ToolButton @bind-IsChecked="SettingsVisible" AutoCheck="true">
    <img src="images/settings.svg" width="16" height="16" />
    Show Settings
</ToolButton>

Sign in