Semantic​Zoom​Automation​Peer Semantic​Zoom​Automation​Peer Semantic​Zoom​Automation​Peer Semantic​Zoom​Automation​Peer Class

Definition

Exposes SemanticZoom types to Microsoft UI Automation.

public : class SemanticZoomAutomationPeer : FrameworkElementAutomationPeer, ISemanticZoomAutomationPeer, IToggleProviderpublic class SemanticZoomAutomationPeer : FrameworkElementAutomationPeer, ISemanticZoomAutomationPeer, IToggleProviderPublic Class SemanticZoomAutomationPeer Inherits FrameworkElementAutomationPeer Implements ISemanticZoomAutomationPeer, IToggleProvider// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

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.

Constructors

SemanticZoomAutomationPeer(SemanticZoom) SemanticZoomAutomationPeer(SemanticZoom) SemanticZoomAutomationPeer(SemanticZoom) SemanticZoomAutomationPeer(SemanticZoom)

Initializes a new instance of the SemanticZoomAutomationPeer class.

public : SemanticZoomAutomationPeer(SemanticZoom owner)public SemanticZoomAutomationPeer(SemanticZoom owner)Public Sub New(owner As SemanticZoom)// This API is not available in Javascript.
Parameters

Properties

ToggleState ToggleState ToggleState ToggleState

Gets a value that indicates whether the Toggle method can be called and result in a toggled view.

public : ToggleState ToggleState { get; }public ToggleState ToggleState { get; }Public ReadOnly Property ToggleState As ToggleState// This API is not available in Javascript.
Value
ToggleState ToggleState ToggleState ToggleState

true if calling Toggle will result in a toggled view; otherwise, false.

Remarks

For a SemanticZoom, this property is equivalent to reading CanChangeViews.

Methods

Toggle() Toggle() Toggle() Toggle()

Cycles through the toggle states of a control.

public : void Toggle()public void Toggle()Public Function Toggle() As void// This API is not available in Javascript.

Remarks

For a SemanticZoom, the toggle action switches the view, equivalent to calling ToggleActiveView so long as CanChangeViews is true.

See Also