AutomationPeer.GetChildrenCore Method

Definition

Provides the peer's behavior when a Microsoft UI Automation client calls GetChildren or an equivalent Microsoft UI Automation client API.

C#
protected virtual IList<AutomationPeer> GetChildrenCore();

Returns

The collection of AutomationPeer objects for child elements.

Remarks

The base implementation returns null. Peers that represent controls with item collections may override this result. Test the behavior of the peer you are using or overriding and override GetChildrenCore if you want to change that behavior.

Applies to

Produkt Versiounen
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also