ITransformProvider ITransformProvider ITransformProvider 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 ITransformProvider
struct winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider
public interface ITransformProvider
Public Interface ITransformProvider
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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 CanMove CanMove CanMove

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

CanResize CanResize CanResize CanResize

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

CanRotate CanRotate CanRotate CanRotate

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

Methods

Move(Double, Double) Move(Double, Double) Move(Double, Double) Move(Double, Double)

Moves the control.

Resize(Double, Double) Resize(Double, Double) Resize(Double, Double) Resize(Double, Double)

Resizes the control.

Rotate(Double) Rotate(Double) Rotate(Double) Rotate(Double)

Rotates the control.

See Also