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 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 AutomationPeer.GetPattern call and PatternInterface.Transform.
public interface class ITransformProvider
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1876388232, 36690, 24306, 168, 38, 156, 140, 73, 81, 201, 17)]
struct ITransformProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(1876388232, 36690, 24306, 168, 38, 156, 140, 73, 81, 201, 17)]
public interface ITransformProvider
Public Interface ITransformProvider
- Derived
- Attributes
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 AutomationPeer.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. |