AutomationPeer.GetControlledPeers Method

Definition

Provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

C#
public System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetControlledPeers();

Returns

A list of automation peers for the controlled elements.

Exceptions

A public call to this method is currently in progress.

Applies to

Product Versions
.NET Framework 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10