RadioButton

Introduction

RadioButtons provide a way to display multiple mutually-exclusive options to the user. Clicking on one RadioButton unchecks all other RadioButtons in a group.

Grouping by Container

RadioButtons automatically group themselves based on their container. If RadioButtons are added directly to a Screen or Component, then they all use the same group and will all be mutually exclusive.

Alternatively, RadioButton instances can be grouped into separate containers (such as StackPanels) to control their grouping. the following example shows two StackPanels, each with three RadioButton instances.

StackPanels grouping RadioButtons

At runtime, the RadioButtons in each StackPanel are mutually exclusive.

Each RadioButton is mutually exclusive with the other RadioButtons in the same column

Last updated

Was this helpful?