实例介绍
综合网上资源制作的,根据那些零碎的代码组合的,高手请跳过。已经整理好,可以运行。(特别注意,只有第一个根目录树加载了右键命令,第二个没有加载,自己可以根据需要改变每个树的右键命令)
【实例截图】
【核心代码】
TestTreeView
└── TestTreeView
├── packages
│ ├── CommonServiceLocator.1.3
│ │ ├── CommonServiceLocator.1.3.nupkg
│ │ └── lib
│ │ └── portable-net4+sl5+netcore45+wpa81+wp8
│ │ ├── Microsoft.Practices.ServiceLocation.dll
│ │ ├── Microsoft.Practices.ServiceLocation.pdb
│ │ └── Microsoft.Practices.ServiceLocation.XML
│ ├── Prism.Core.6.3.0
│ │ ├── lib
│ │ │ ├── MonoAndroid10
│ │ │ │ ├── Prism.dll
│ │ │ │ └── Prism.xml
│ │ │ ├── MonoTouch10
│ │ │ │ ├── Prism.dll
│ │ │ │ └── Prism.xml
│ │ │ ├── net45
│ │ │ │ ├── Prism.dll
│ │ │ │ └── Prism.xml
│ │ │ ├── portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10
│ │ │ │ ├── Prism.dll
│ │ │ │ └── Prism.xml
│ │ │ ├── wp8
│ │ │ │ ├── Prism.dll
│ │ │ │ └── Prism.xml
│ │ │ ├── wp81
│ │ │ │ ├── Prism.dll
│ │ │ │ └── Prism.xml
│ │ │ ├── wpa81
│ │ │ │ ├── Prism.dll
│ │ │ │ └── Prism.xml
│ │ │ └── Xamarin.iOS10
│ │ │ ├── Prism.dll
│ │ │ └── Prism.xml
│ │ └── Prism.Core.6.3.0.nupkg
│ ├── Prism.Unity.6.3.0
│ │ ├── lib
│ │ │ ├── net45
│ │ │ │ ├── Prism.Unity.Wpf.dll
│ │ │ │ └── Prism.Unity.Wpf.xml
│ │ │ └── uap10.0
│ │ │ ├── Prism.Unity.Windows.dll
│ │ │ ├── Prism.Unity.Windows.pri
│ │ │ └── Prism.Unity.Windows.xml
│ │ └── Prism.Unity.6.3.0.nupkg
│ ├── Prism.Wpf.6.3.0
│ │ ├── lib
│ │ │ └── net45
│ │ │ ├── Prism.Wpf.dll
│ │ │ ├── Prism.Wpf.xml
│ │ │ └── System.Windows.Interactivity.dll
│ │ └── Prism.Wpf.6.3.0.nupkg
│ └── Unity.4.0.1
│ ├── lib
│ │ ├── net45
│ │ │ ├── Microsoft.Practices.Unity.Configuration.dll
│ │ │ ├── Microsoft.Practices.Unity.Configuration.XML
│ │ │ ├── Microsoft.Practices.Unity.dll
│ │ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.dll
│ │ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.XML
│ │ │ └── Microsoft.Practices.Unity.xml
│ │ ├── portable-net45+wp80+win8+wpa81+MonoAndroid10+MonoTouch10
│ │ │ ├── Microsoft.Practices.Unity.dll
│ │ │ └── Microsoft.Practices.Unity.xml
│ │ ├── win8
│ │ │ ├── Microsoft.Practices.Unity.dll
│ │ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.dll
│ │ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.pri
│ │ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.XML
│ │ │ └── Microsoft.Practices.Unity.xml
│ │ └── wp80
│ │ ├── Microsoft.Practices.Unity.dll
│ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.dll
│ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.XML
│ │ └── Microsoft.Practices.Unity.xml
│ ├── Unity.4.0.1.nupkg
│ └── UnityConfiguration30.xsd
├── TestTreeView.sln
└── TextTreeView
├── app.config
├── bin
│ ├── Debug
│ │ ├── Microsoft.Practices.ServiceLocation.dll
│ │ ├── Microsoft.Practices.ServiceLocation.pdb
│ │ ├── Microsoft.Practices.ServiceLocation.xml
│ │ ├── Microsoft.Practices.Unity.Configuration.dll
│ │ ├── Microsoft.Practices.Unity.Configuration.xml
│ │ ├── Microsoft.Practices.Unity.dll
│ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.dll
│ │ ├── Microsoft.Practices.Unity.RegistrationByConvention.xml
│ │ ├── Microsoft.Practices.Unity.xml
│ │ ├── Prism.dll
│ │ ├── Prism.Unity.Wpf.dll
│ │ ├── Prism.Unity.Wpf.xml
│ │ ├── Prism.Wpf.dll
│ │ ├── Prism.Wpf.xml
│ │ ├── Prism.xml
│ │ ├── System.Windows.Interactivity.dll
│ │ ├── TestTreeView.exe
│ │ ├── TestTreeView.exe.config
│ │ ├── TestTreeView.pdb
│ │ ├── TestTreeView.vshost.exe
│ │ ├── TestTreeView.vshost.exe.config
│ │ ├── TestTreeView.vshost.exe.manifest
│ │ ├── TextTreeView.exe
│ │ ├── TextTreeView.exe.config
│ │ ├── TextTreeView.pdb
│ │ ├── TextTreeView.vshost.exe.config
│ │ └── TextTreeView.vshost.exe.manifest
│ └── XBAP Debug
│ ├── app.publish
│ │ └── TestTreeView.exe
│ ├── Microsoft.Practices.ServiceLocation.dll
│ ├── Microsoft.Practices.ServiceLocation.pdb
│ ├── Microsoft.Practices.ServiceLocation.xml
│ ├── Microsoft.Practices.Unity.Configuration.dll
│ ├── Microsoft.Practices.Unity.Configuration.xml
│ ├── Microsoft.Practices.Unity.dll
│ ├── Microsoft.Practices.Unity.RegistrationByConvention.dll
│ ├── Microsoft.Practices.Unity.RegistrationByConvention.xml
│ ├── Microsoft.Practices.Unity.xml
│ ├── Prism.dll
│ ├── Prism.Unity.Wpf.dll
│ ├── Prism.Unity.Wpf.xml
│ ├── Prism.Wpf.dll
│ ├── Prism.Wpf.xml
│ ├── Prism.xml
│ ├── System.Windows.Interactivity.dll
│ ├── TestTreeView.exe
│ ├── TestTreeView.exe.config
│ ├── TestTreeView.exe.manifest
│ ├── TestTreeView.pdb
│ └── TestTreeView.xbap
├── Images
│ ├── Green-icon.png
│ ├── Red-icon.png
│ └── Yellow-icon.png
├── MyApp.xaml
├── MyApp.xaml.cs
├── obj
│ ├── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── GeneratedInternalTypeHelper.g.cs
│ │ ├── GeneratedInternalTypeHelper.g.i.cs
│ │ ├── MyApp.g.cs
│ │ ├── MyApp.g.i.cs
│ │ ├── Page1.baml
│ │ ├── Page1.g.cs
│ │ ├── Page1.g.i.cs
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ ├── TempPE
│ │ │ └── Properties.Resources.Designer.cs.dll
│ │ ├── TestTreeView.csproj.FileListAbsolute.txt
│ │ ├── TestTreeView.csproj.GenerateResource.Cache
│ │ ├── TestTreeView.csprojResolveAssemblyReference.cache
│ │ ├── TestTreeView.exe
│ │ ├── TestTreeView.g.resources
│ │ ├── TestTreeView_MarkupCompile.cache
│ │ ├── TestTreeView_MarkupCompile.i.cache
│ │ ├── TestTreeView_MarkupCompile.i.lref
│ │ ├── TestTreeView_MarkupCompile.lref
│ │ ├── TestTreeView.pdb
│ │ ├── TestTreeView.Properties.Resources.resources
│ │ ├── TextTreeView_Content.g.i.cs
│ │ ├── TextTreeView.csproj.FileListAbsolute.txt
│ │ ├── TextTreeView.csproj.GenerateResource.Cache
│ │ ├── TextTreeView.csprojResolveAssemblyReference.cache
│ │ ├── TextTreeView.exe
│ │ ├── TextTreeView.g.resources
│ │ ├── TextTreeView_MarkupCompile.cache
│ │ ├── TextTreeView_MarkupCompile.i.cache
│ │ ├── TextTreeView_MarkupCompile.i.lref
│ │ ├── TextTreeView_MarkupCompile.lref
│ │ ├── TextTreeView.pdb
│ │ └── TextTreeView.Properties.Resources.resources
│ └── XBAP Debug
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── GeneratedInternalTypeHelper.g.cs
│ ├── GeneratedInternalTypeHelper.g.i.cs
│ ├── MyApp.g.cs
│ ├── MyApp.g.i.cs
│ ├── Page1.baml
│ ├── Page1.g.cs
│ ├── Page1.g.i.cs
│ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ ├── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ ├── TestTreeView.csproj.FileListAbsolute.txt
│ ├── TestTreeView.csproj.GenerateResource.Cache
│ ├── TestTreeView.exe
│ ├── TestTreeView.exe.manifest
│ ├── TestTreeView.g.resources
│ ├── TestTreeView_MarkupCompile.cache
│ ├── TestTreeView_MarkupCompile.i.cache
│ ├── TestTreeView_MarkupCompile.i.lref
│ ├── TestTreeView_MarkupCompile.lref
│ ├── TestTreeView.pdb
│ ├── TestTreeView.Properties.Resources.resources
│ ├── TestTreeView.TrustInfo.xml
│ └── TestTreeView.xbap
├── packages.config
├── Page1.xaml
├── Page1.xaml.cs
├── Properties
│ ├── app.manifest
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── PropertyNodeItem.cs
├── Readme.txt
├── TestTreeView.csproj
├── TestTreeView.csproj.user
├── TextTreeView_TemporaryKey.pfx
└── ViewModels
└── Page1ViewModel.cs
41 directories, 181 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论