-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Automation.Peers.SemanticZoomAutomationPeer |
winrt class |
Exposes SemanticZoom types to Microsoft UI Automation.
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.
SemanticZoomAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.
- GetPattern reports that the peer provides pattern support for PatternInterface.Toggle (IToggleProvider).
- GetClassName returns "SemanticZoom".
- GetAutomationControlType returns AutomationControlType.SemanticZoom.
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.
SemanticZoom, FrameworkElementAutomationPeer, IToggleProvider, Custom automation peers