Final answer:
The correct answer is C. Toggle Switch, which acts as a user interface control allowing users to change a setting between two states. When its new value property is set to true, the toggle performs a predefined task. Other options like checkboxes, dropdown menus, and radio buttons serve different interaction purposes.
Step-by-step explanation:
The correct answer to the question is C. Toggle Switch. A toggle switch works as a control that the user can flip to switch between two states, typically true or false. In user interface design, a toggle is used when there is a need for a binary setting option, such as on/off or yes/no. When the new value property is set to true, the toggle switch performs the specific task associated with enabling that feature. It is similar to a light switch mechanism in physical terms but in a digital interface context.
The other options, such as A. Checkbox, B. Dropdown Menu, and D. Radio Button, serve different purposes. A checkbox is used when multiple selections are permissible, a dropdown menu provides a list of options from which one can be selected, and a radio button is used for selecting one option from a set of mutually exclusive choices.