So I recently switched to WPF from winforms. I was tracking information in my TreeView with the Tag property. I've noticed WPF TreeViewItem is stored as a generic object once added to the TreeView which gets kind of annoying when having to cast the selected item as a TreeViewItem then pull the tag out and cast it as the class I use to store data. Does anyone know if there is a better way to track this data?
by dontmindmeIworkhere via /r/csharp