Skip to content

Events and Handlers

The Radio Button component has the following events and handlers available for use:

Events

Event
Description
On Change Event
Triggers when the component's state value changes.
On Visibility Change
Gets activated when the visibility state of the component is altered. You can use this event to define actions that need to take place when the component becomes visible or hidden.

Handlers

Handler
Description
Class List Logic
This logic involves modifying the CSS classes associated with the component dynamically.
Styles Logic
Allows you to change the styles of the component dynamically.
Visibility Logic
Allows controlling the visibility of the component based on certain conditions. You can use this event to show or hide the component depending on user actions or other factors. If the handler returns true, the component will be visible.
Name Logic
Sets the radio button name dynamically.
Value Logic
When using this handler you can assign a value to the radio button. The value can be used for two purposes:
1. Associating a value with the radio button.
2. Using the value in the Checked Value Logic handler.
Label Logic
Determines the value of the component's label. The value returned by the event handler will be used as the component label.
Checked Value Logic
When using this handler you can add logic to determine if the radio button (as a part of a radio group) should be checked. When the value for this property (either through the databinding or the logic) matches the value for Value Logic, the radio button is selected.
Disabled State Logic
Determines if the component should be disabled. If the handler returns true, the component will be disabled.