@page "/"
<MatBlazor.MatCheckbox Indeterminate="true" Value="Value">Current value: @(Value == null ? "null" : Value.Value.ToString())</MatBlazor.MatCheckbox>
<MatBlazor.MatButton Label="Set to true" OnClick="() => Value = true" />
<MatBlazor.MatButton Label="Set to null" OnClick="() => Value = null" />
<MatBlazor.MatButton Label="Set to false" OnClick="() => Value = false" />
@code {
public bool? Value { get; set; }
}