ITransformProvider2 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.
Extends the ITransformProvider interface to enable Microsoft UI Automation providers to expose API to support the viewport zooming functionality of a control.
public interface class ITransformProvider2 : ITransformProvider
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2106708013, 33793, 23800, 187, 196, 71, 57, 26, 82, 66, 21)]
struct ITransformProvider2 : ITransformProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2106708013, 33793, 23800, 187, 196, 71, 57, 26, 82, 66, 21)]
public interface ITransformProvider2 : ITransformProvider
Public Interface ITransformProvider2
Implements ITransformProvider
- Attributes
- Implements
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.
Use the TransformPattern2Identifiers class if you want to reference the ITransformProvider2 pattern properties from control code when you call AutomationPeer.RaisePropertyChangedEvent.
Properties
CanMove |
Gets a value that indicates whether the element can be moved. (Inherited from ITransformProvider) |
CanResize |
Gets a value that indicates whether the element can be resized. (Inherited from ITransformProvider) |
CanRotate |
Gets a value that indicates whether the element can be rotated. (Inherited from ITransformProvider) |
CanZoom |
Gets a value that indicates whether the control supports zooming of its viewport. |
MaxZoom |
Gets the maximum zoom level of the element. |
MinZoom |
Gets the minimum zoom level of the element. |
ZoomLevel |
Gets the zoom level of the control's viewport. |
Methods
Move(Double, Double) |
Moves the control. (Inherited from ITransformProvider) |
Resize(Double, Double) |
Resizes the control. (Inherited from ITransformProvider) |
Rotate(Double) |
Rotates the control. (Inherited from ITransformProvider) |
Zoom(Double) |
Zooms the viewport of the control. |
ZoomByUnit(ZoomUnit) |
Zooms the viewport of the control by the specified logical unit. |