IToggleProvider Interface
Définition
Expose des méthodes et des propriétés pour prendre en charge l’accès du client UI Automation aux contrôles qui peuvent passer par un jeu d’états et conserver un état une fois ce dernier défini.Exposes methods and properties to support UI Automation client access to controls that can cycle through a set of states and maintain a state once set.
public interface class IToggleProvider
public interface IToggleProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("56d00bd0-c4f4-433c-a836-1a52a57e0892")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IToggleProvider
type IToggleProvider = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("56d00bd0-c4f4-433c-a836-1a52a57e0892")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IToggleProvider = interface
Public Interface IToggleProvider
- Dérivé
- Attributs
Remarques
Implémenté sur un fournisseur UI Automation qui doit prendre en charge le TogglePattern modèle de contrôle.Implemented on a UI Automation provider that must support the TogglePattern control pattern.
Propriétés
ToggleState |
Obtient l'état bascule du contrôle.Gets the toggle state of the control. |
Méthodes
Toggle() |
Parcourt les états bascule d’une commande.Cycles through the toggle states of a control. |
S’applique à
Voir aussi
- TogglePattern
- Vue d'ensemble des modèles de contrôle UI AutomationUI Automation Control Patterns Overview
- Implémentation du fournisseur UI Automation côté serveurServer-side UI Automation Provider Implementation
- Implémentation du fournisseur UI Automation côté clientClient-side UI Automation Provider Implementation
- Prendre en charge des modèles de contrôle dans un fournisseur UI AutomationSupport Control Patterns in a UI Automation Provider
- Implémentation du modèle de contrôle Toggle d’UI AutomationImplementing the UI Automation Toggle Control Pattern