Delen via


ITransformProvider2 Interface

Definition

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(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2830178134, 41887, 20119, 140, 125, 193, 234, 141, 214, 51, 197)]
struct ITransformProvider2 : ITransformProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2830178134, 41887, 20119, 140, 125, 193, 234, 141, 214, 51, 197)]
public interface ITransformProvider2 : ITransformProvider
Public Interface ITransformProvider2
Implements ITransformProvider
Derived
Attributes
Implements

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.

Use the TransformPattern2Identifiers class if you want to reference the ITransformProvider2 pattern properties from control code when you call 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.

Applies to

See also