Table of Contents

Enum ToggleState

Namespace
HP.LFT.SDK.UIAPro
Assembly
HP.LFT.SDK.dll

The possible states of a toggleable object.

public enum ToggleState

Fields

Indeterminate = 2

The UI Automation element is in an indeterminate state. Can be used to indicate whether the user has acted on a control. For example, a check box can appear checked and dimmed, indicating an indeterminate state. Creating an indeterminate state is different from disabling the control. Consequently, a check box in the indeterminate state can still receive the focus. When the user clicks an indeterminate control, the ToggleState cycles to its next value.

Off = 0

The UIA Pro element is not selected, checked, marked, or otherwise activated.

On = 1

The UIA Pro element is selected, checked, marked, or otherwise activated.