Share via


ITransformProvider Interface

Definition

Exposes methods and properties to support access by a Microsoft UI Automation client to controls or elements that can be moved, resized, or rotated within a two-dimensional space. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.Transform.

public interface class ITransformProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2036797405, 63145, 19045, 175, 23, 134, 29, 183, 153, 162, 218)]
struct ITransformProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2036797405, 63145, 19045, 175, 23, 134, 29, 183, 153, 162, 218)]
public interface ITransformProvider
Public Interface ITransformProvider
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see Transform Control Pattern.

ITransformProvider isn't implemented by any existing Windows Runtime automation peers. The interface exists so that custom control authors can support the automation pattern in a custom control, and implement their automation support using the same Windows Runtime managed or C++ API as they use to define control logic or other automation support.

Use the TransformPatternIdentifiers class if you want to reference the ITransformProvider pattern properties from control code when you call RaisePropertyChangedEvent.

Properties

CanMove

Gets a value that indicates whether the element can be moved.

CanResize

Gets a value that indicates whether the element can be resized.

CanRotate

Gets a value that indicates whether the element 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