WPF C#

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="TreeViewSelectedValue">
  
    
      
        
          
            A
            Monday
            Tuesday
            Wednesday
            Thrusday
            Friday
            8:00am
            12345
          

          
            B
            Monday
            Tuesday
            6:30am
            98765
          

        
      

    
    
      
    
  

  
            Name="myTreeView" SelectedValuePath="CourseNumber"/>
    SelectedValuePath: 
    
    SelectedValue: