AutomationPeer.GetControlledPeersCore Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Производ Верзије
.NET Framework 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10