ToggleState Énumération
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Contient des valeurs qui spécifient la ToggleState d’un élément UI Automation.
public enum class ToggleState
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("ad7db4af-7166-4478-a402-ad5b77eab2fa")]
public enum ToggleState
public enum ToggleState
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("ad7db4af-7166-4478-a402-ad5b77eab2fa")>]
type ToggleState =
type ToggleState =
Public Enum ToggleState
- Héritage
- Attributs
Champs
| Nom | Valeur | Description |
|---|---|---|
| Off | 0 | L’élément UI Automation n’est pas sélectionné, activé, marqué ou activé. |
| On | 1 | L’élément UI Automation est sélectionné, activé, marqué ou activé. |
| Indeterminate | 2 | L’élément UI Automation est dans un état indéterminé.
|
Remarques
Un contrôle doit parcourir son IToggleProvider.ToggleState ordre : On, Offet, si pris en charge, Indeterminate.