Ejemplo n.º 1
0
 /// <summary>
 /// Search RadTreeView Nodes for Matching Node Tag Text, Returns Node if Found. Option to Find Nodes Only Containing SearchText
 /// </summary>
 /// <param name="radTree">RadTreeView To Search Nodes</param>
 /// <param name="SearchText">Text Found in Node Tag to Search For</param>
 /// <param name="ExactMatch">If False, will return nodes containing SearchText</param>
 /// <returns></returns>
 public static RadTreeNode FindNodeByTag(this RadTreeView radTree, string SearchText, bool ExactMatch = true)
 {
     sharpAHK_Dev._TelerikLib.RadTree tree = new _TelerikLib.RadTree();
     return(tree.ReturnNode(radTree, "", SearchText, true));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Search RadTreeView Nodes for Matching Text, Returns Node if Found
 /// </summary>
 /// <param name="radTree">RadTreeView To Search Nodes</param>
 /// <param name="SearchText">Text Found in Node Tag to Search For</param>
 /// <returns></returns>
 public static RadTreeNode FindNode(this RadTreeView radTree, string SearchText)
 {
     sharpAHK_Dev._TelerikLib.RadTree tree = new _TelerikLib.RadTree();
     return(tree.ReturnNode(radTree, SearchText));
 }