Example #1
0
 /// <summary>
 /// Select fist node with subnodes and measure how much time it's takes.
 /// </summary>
 public void SelectFirstNodeWithSubnodes()
 {
     Utilites.CheckRunTime(() => Tree.SelectNodeWithSubnodes(Nodes[0]));
 }
Example #2
0
 /// <summary>
 /// Toggle node IsExpanded and measure how much time it's takes.
 /// </summary>
 /// <param name="node">Node.</param>
 protected virtual void NodeToggle(TreeNode <TreeViewItem> node)
 {
     Utilites.CheckRunTime(() => node.IsExpanded = !node.IsExpanded, "nodes: " + node.TotalNodesCount);
 }