I cannot determine how to get access to the TreeViewItem object. I have imported the System.object reference, but when I attempt to build my solution, I get the following: Type 'TreeViewItem' is not defined.
My dev environment is VS Ultimate 2012. VB 2012 Windows App program.
Any advise appreciated!
Correction: the import was for System.Windows.Controls namespace (not System.object as noted). My error with this import is: Namespace or type specified in the Imports 'System.Windows.Controls' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.