ToggleState 列挙型
定義
UI オートメーション要素の ToggleState を指定する値を格納します。Contains values that specify the ToggleState of a UI Automation element.
public enum class ToggleState
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("ad7db4af-7166-4478-a402-ad5b77eab2fa")]
public enum ToggleState
type ToggleState =
Public Enum ToggleState
- 継承
- 属性
フィールド
Indeterminate | 2 | UI オートメーション要素は中間状態です。The UI Automation element is in an indeterminate state. |
Off | 0 | UI オートメーション要素は、選択、チェック、マーク、またはアクティブ化されていません。The UI Automation element is not selected, checked, marked, or otherwise activated. |
On | 1 | UI オートメーション要素は、選択、チェック、マーク、またはアクティブ化されています。The UI Automation element is selected, checked, marked, or otherwise activated. |
注釈
IToggleProvider.ToggleStateコントロールはOn
、 Indeterminate
、、および (サポートされている場合) の順序で、を順番に処理する必要があります。 Off
A control must cycle through its IToggleProvider.ToggleState in this order: On
, Off
, and, if supported, Indeterminate
.