AutomationPeer.ResetChildrenCache Method


Synchronously resets the tree of child elements by calling GetChildrenCore().

 void ResetChildrenCache();
public void ResetChildrenCache ();
member this.ResetChildrenCache : unit -> unit
Public Sub 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.

Applies to

See also