AutomationPeer.GetControlledPeersCore Method

Definition

When overridden in a derived class, provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

C#
protected virtual System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetControlledPeersCore();

Returns

A list of automation peers for the controlled elements.

Applies to

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