Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AutomationPeer.ResetChildrenCache Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Synchronously resets the tree of child elements by calling GetChildrenCore.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationCore (in PresentationCore.dll)

public void ResetChildrenCache()

Use this method in certain peer implementations that change the set of child elements in response to a call to a control pattern interface. An example is ITextProvider, which can change the child elements of the peer by moving the TextRange.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft