Udostępnij za pośrednictwem


TransformPattern2Identifiers Class

Definition

Contains values used as identifiers by ITransformProvider2.

public ref class TransformPattern2Identifiers sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TransformPattern2Identifiers final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TransformPattern2Identifiers
Public NotInheritable Class TransformPattern2Identifiers
Inheritance
Object Platform::Object IInspectable TransformPattern2Identifiers
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

ITransformProvider2 extends the ITransformProvider interface to enable Microsoft UI Automation providers to expose properties to support the viewport zooming functionality of a control.

Classes such as TransformPattern2Identifiers are the identifiers for the Windows Runtime implementation of a common provider pattern for Microsoft UI Automation. You might use these identifiers if you are implementing a Windows Runtime custom automation peer that reports support for ITransformProvider2 in its GetPattern implementation. These identifiers are needed for the RaisePropertyChangedEvent calls that you make from control code that references your own peer, or for FindItemByProperty in an items container peer. This same pattern is usually exposed to clients in a different way, depending on which technology they use to implement the client and examine the Microsoft UI Automation tree. ITransformProvider2 is also presented as a Component Object Model (COM) interface.

Properties

CanZoomProperty

Identifies the CanZoom automation property.

MaxZoomProperty

Identifies the MaxZoom automation property.

MinZoomProperty

Identifies the MinZoom automation property.

ZoomLevelProperty

Identifies the ZoomLevel automation property.

Applies to

See also