Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 2.61 KB

semanticzoomautomationpeer.md

File metadata and controls

37 lines (24 loc) · 2.61 KB
-api-id -api-type
T:Windows.UI.Xaml.Automation.Peers.SemanticZoomAutomationPeer
winrt class

Windows.UI.Xaml.Automation.Peers.SemanticZoomAutomationPeer

-description

Exposes SemanticZoom types to Microsoft UI Automation.

-remarks

The Windows Runtime SemanticZoom class creates a new SemanticZoomAutomationPeer as its OnCreateAutomationPeer definition. SemanticZoom is sealed, so the normal scenario of deriving from the SemanticZoom class and its existing peer isn't applicable to SemanticZoomAutomationPeer.

Default peer implementation and overrides in SemanticZoomAutomationPeer

SemanticZoomAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

Note

"SemanticZoom" is a relatively recent addition to the Microsoft UI Automation set of automation control types, so not all clients are implemented to look for it. This peer fires several automation events on behalf of its owner for toggle state changes.

The peer also has other behaviors that are provided by the base FrameworkElementAutomationPeer class. For more info, see "Base implementation in FrameworkElementAutomationPeer" section of Custom automation peers.

-examples

-see-also

SemanticZoom, FrameworkElementAutomationPeer, IToggleProvider, Custom automation peers