Επεξεργασία

Κοινή χρήση μέσω


ITransformProvider Interface

Definition

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