AutomationPeer.GetChildrenCore AutomationPeer.GetChildrenCore AutomationPeer.GetChildrenCore 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.

protected : virtual IVector<AutomationPeer> GetChildrenCore()
virtual IVector<AutomationPeer> GetChildrenCore() const;
protected virtual IList<AutomationPeer> GetChildrenCore()
Protected Overridable Function GetChildrenCore() As IList<AutomationPeer>(Of AutomationPeer)

Returns

IList<AutomationPeer> IList<AutomationPeer>

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.

See also