-
-
Save dmdymov/4bfc5640f87e46489318468a1925f957 to your computer and use it in GitHub Desktop.
SOExample1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((e.NewValue as TreeViewItem).Tag as FileSystemInfo).FullName; | |
// верхняя строка разворачивается в набор последовательных присваиваний и приведений. | |
var treeViewItem = e.NewValue as TreeViewItem; | |
var tag = treeViewItem.Tag; | |
var fileSystemInfo = tag as FileSystemInfo; | |
var fullName = fileSystemInfo.FullName; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment