AutomationPeer.GetChildrenCore 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.
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() = GetChildrenCore;
IVector<AutomationPeer> GetChildrenCore();
protected virtual IList<AutomationPeer> GetChildrenCore();
function getChildrenCore()
Protected Overridable Function GetChildrenCore () As IList(Of AutomationPeer)
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.