ITransformProvider 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 faire l’objet d’un déplacement, d’un redimensionnement ou d’une rotation dans un espace à deux dimensions.Exposes methods and properties to support UI Automation client access to controls that can be moved, resized, or rotated within a two-dimensional space.
public interface class ITransformProvider
public interface ITransformProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("6829ddc4-4f91-4ffa-b86f-bd3e2987cb4c")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITransformProvider
type ITransformProvider = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("6829ddc4-4f91-4ffa-b86f-bd3e2987cb4c")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ITransformProvider = interface
Public Interface ITransformProvider
- Dérivé
- Attributs
Remarques
Implémenté sur un fournisseur UI Automation qui doit prendre en charge le TransformPattern modèle de contrôle.Implemented on a UI Automation provider that must support the TransformPattern control pattern.
La prise en charge pour ce modèle de contrôle ne se limite pas aux objets sur le bureau.Support for this control pattern is not limited to objects on the desktop. Ce modèle de contrôle doit également être implémenté par les enfants d’un objet conteneur tant que les enfants peuvent être déplacés, redimensionnés ou pivotés librement dans les limites du conteneur.This control pattern must also be implemented by the children of a container object as long as the children can be moved, resized, or rotated freely within the boundaries of the container.
Propriétés
CanMove |
Obtient une valeur qui spécifie si le contrôle peut être déplacé.Gets a value that specifies whether the control can be moved. |
CanResize |
Obtient une valeur qui spécifie si l'élément Automatisation de l’interface utilisateurUI Automation peut être redimensionné.Gets a value that specifies whether the Automatisation de l’interface utilisateurUI Automation element can be resized. |
CanRotate |
Obtient une valeur qui spécifie si le contrôle peut être pivoté.Gets a value that specifies whether the control can be rotated. |
Méthodes
Move(Double, Double) |
Déplace le contrôle.Moves the control. |
Resize(Double, Double) |
Redimensionne le contrôle.Resizes the control. |
Rotate(Double) |
Fait pivoter le contrôle.Rotates the control. |
S’applique à
Voir aussi
- TransformPattern
- 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 Transform d’UI AutomationImplementing the UI Automation Transform Control Pattern