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>

@code{
    bool rememberMe;
}

With event

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

@code{
    bool rememberMe;

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

Attributes

Name Type Default Description
Checked boolean false Gets or sets the checked flag.
NullableChecked boolean false Gets or sets the nullable value for checked flag. [WILL BE REMOVED]
CheckedChanged event   Occurs when the check state is changed.
NullableCheckedChanged event   Occurs when the check state of nullable value is changed. [WILL BE REMOVED]
RadioGroup string null Sets the radio group name.
IsInline boolean false Group checkboxes or radios on the same horizontal row.
Cursor Cursor Default Defines the mouse cursor based on the behaviour by the current css framework.