Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.2 KB

automationpeer_getcontrolledpeers_1408209931.md

File metadata and controls

27 lines (17 loc) · 1.2 KB
-api-id -api-type
M:Windows.UI.Xaml.Automation.Peers.AutomationPeer.GetControlledPeers
winrt method

Windows.UI.Xaml.Automation.Peers.AutomationPeer.GetControlledPeers

-description

Provides the peer's behavior when a Microsoft UI Automation client calls GetControlledPeers or an equivalent Microsoft UI Automation client API such as getting a property value as identified by UIA_ControllerForPropertyId.

-returns

A list of the controlled peers for the current automation peer.

-remarks

Examining controlled peers is an advanced scenario that most peer implementations won't need to use.

The naming of the framework implementation and the Microsoft UI Automation property that clients can use to access this info are slightly different. Microsoft UI Automation clients should use the identifier UIA_ControllerForPropertyId to request the value of this property when using the Microsoft UI Automation client interfaces such as IUIAutomation.

-examples

-see-also