Enum
ToggleState

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

Definition

Namespace:Telerik.WinControls.Enumerations

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public enum ToggleState

Fields

Indeterminate

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

Declaration

cs-api-definition
Indeterminate = 2

Field Value

ToggleState

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.

Off

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

Declaration

cs-api-definition
Off = 0

Field Value

ToggleState

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.

On

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

Declaration

cs-api-definition
On = 1

Field Value

ToggleState

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