Radzen check box cahnge event not working

Hello I have a radzen check box like below. I have added a change event , but when checking or unchecking the checkbox, the event is not fireing the related method. What is wrong?

<RadzenCheckBox @bind-Value="@TagService.Alarms_Chart_show_alarm_texts" @onchange=@Set_CategoryProperty Name="alarmText" Style="margin-left: 20px">

@code {

void Set_CategoryProperty(ChangeEventArgs args)
{
    if (TagService.Alarms_Chart_show_alarm_texts == true)
    {
        TagService.Alarms_Chart_CategoryProperty = "Alarm_Text";
    }
    else
    {
        TagService.Alarms_Chart_CategoryProperty = "Alarm_No";
    }
}

}

The event is called Change.

Thanks for the info, but this time I get following compiler error (shown in the picture attached)

Hi @mdarende,

I think the compiler error is quite descriptive. Please let's not fill the forum with threads like this.

Sorry, you are right, was my mistake.