Partager via


ITransformProvider Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Exposes methods and properties to support access by a UI automation client to controls or elements that can be moved, resized, or rotated within a two-dimensional space.

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Interface ITransformProvider
public interface ITransformProvider

The ITransformProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone CanMove Gets a value that indicates whether the element can be moved.
Public propertySupported by Silverlight for Windows Phone CanResize Gets a value that indicates whether the element can be resized.
Public propertySupported by Silverlight for Windows Phone CanRotate Gets a value that indicates whether the element can be rotated.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Move Moves the control.
Public methodSupported by Silverlight for Windows Phone Resize Resizes the control.
Public methodSupported by Silverlight for Windows Phone Rotate Rotates the control.

Top

Remarks

This interface is implemented in a UI automation provider that must support the Transform 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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.