Check component

Check

<CheckEdit>Check me out</CheckEdit>

Radio

For radio control you must set the RadioGroup attribute.

<CheckEdit RadioGroup="someGroupName">Select this</CheckEdit>
<CheckEdit RadioGroup="someGroupName">Or this</CheckEdit>

Usage

With bind attribute

<CheckEdit bind-Checked="@rememberMe">Remember Me</CheckEdit>

@functions{
    bool rememberMe;
}

With event

<CheckEdit Checked="@rememberMe" CheckedChanged="@OnRememberMeChanged">Remember Me</CheckEdit>

@functions{
    bool rememberMe;

    void OnRememberMeChanged( bool value )
    {
        rememberMe = value;
    }
}