ResetChildrenCache Method
Collapse the table of content
Expand the table of content

AutomationPeer.ResetChildrenCache Method ()


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
© 2015 Microsoft