wItemCount problems
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2010
04:54 PM
08-06-2010
04:54 PM
wItemCount problems
Hello folks,
I am trying to get the number of nodes that exist within a node. The application looks like this:
- Site
- - 1
- - 2
- - 3
I have tried a few different things, but nothing I type in is working and I'm out of ideas. This code works to expand the Site item:
myApp.Explorer.toolStripContainer1.ToolStripContentPanel.splitContainer.SplitterPanel.browser.treeView.ExpandItem("|Site");
From what I can tell wItemCount returns an integer, but where would that fit into the ridiculously long string of stuff.things?
Any help would be greatly appreciated.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2010
06:37 PM
08-08-2010
06:37 PM
Hi Eric,
In case of the Windows Forms tree view, you can try using the native Count property located within the Nodes property. To access subnodes, you can try using the Item property.
Best regards,
Alexey
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
