AutomationPeer.ResetChildrenCache Method

Definition

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

public:
 void ResetChildrenCache();
public void ResetChildrenCache ();
member this.ResetChildrenCache : unit -> unit
Public Sub ResetChildrenCache ()

Remarks

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