ITransformProvider2 interface

ITransformProvider2 interface

Extends the ITransformProvider interface to enable Microsoft UI Automation providers to expose APIs to support the viewport zooming functionality of a control.

Syntax


public interface ITransformProvider2 : ITransformProvider

Members

The ITransformProvider2 interface has these types of members:

Methods

The ITransformProvider2 interface has these methods. It also inherits methods from the Object class.

MethodDescription
Zoom Zooms the viewport of the control.
ZoomByUnit Zooms the viewport of the control by the specified logical unit.

 

Properties

The ITransformProvider2 interface has these properties.

PropertyAccess typeDescription

CanZoom

Read-only

Gets a value that indicates whether the control supports zooming of its viewport.

MaxZoom

Read-only

Gets the maximum zoom level of the element.

MinZoom

Read-only

Gets the minimum zoom level of the element.

ZoomLevel

Read-only

Gets the zoom level of the control's viewport.

 

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation.Provider
Windows::UI::Xaml::Automation::Provider [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Provider
Windows::UI::Xaml::Automation::Provider [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]
[WebHostHidden()]

See also

Transform Control Pattern
ITransformProvider
ITransformProvider2 (COM interface)
Custom automation peers

 

 

Show:
© 2017 Microsoft