New to Telerik UI for WinFormsStart a free 30-day trial

Specifies the possible states for toggle controls such as checkboxes, checkmarks, and toggle buttons.

Definition

Namespace:Telerik.WinControls.Enumerations

Assembly:Telerik.WinControls.dll

Syntax:

C#
public enum ToggleState

Fields

Indicates that the toggle control is in an indeterminate or mixed state.

C#
Indeterminate = 2
Remarks:

The indeterminate state is typically used when the toggle represents multiple items with different states, or when the current state cannot be determined. This is common in tree views with checkboxes where a parent node represents children with mixed states.

Indicates that the toggle control is in the "off" or unchecked state.

C#
Off = 0
Remarks:

This represents the default, inactive, or false state of the toggle control. For checkboxes, this means unchecked; for radio buttons, this means not selected.

Indicates that the toggle control is in the "on" or checked state.

C#
On = 1
Remarks:

This represents the active, selected, or true state of the toggle control. For checkboxes, this means checked; for radio buttons, this means selected.

In this article
DefinitionFieldsIndeterminateOffOn
Not finding the help you need?
Contact Support