ITransformProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[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
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)>]
type ITransformProvider = interface
type ITransformProvider = interface
Public Interface ITransformProvider
- Derived
- Attributes
Remarks
Implemented on a UI Automation provider that must support the TransformPattern control pattern.
Support for this control pattern is not limited to objects on the desktop. 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.
Properties
CanMove |
Gets a value that specifies whether the control can be moved. |
CanResize |
Gets a value that specifies whether the UI Automation element can be resized. |
CanRotate |
Gets a value that specifies whether the control can be rotated. |
Methods
Move(Double, Double) |
Moves the control. |
Resize(Double, Double) |
Resizes the control. |
Rotate(Double) |
Rotates the control. |
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應