資源簡介
在WPF實際項目開發的時候,經常會用到帶CheckBox的TreeView,雖然微軟在WPF的TreeView中沒有提供該功能,但是微軟在WPF中提供強大的ItemTemplate模板功能和自定義樣式,那我們可以自己寫一個這樣的控件供自己使用。

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Configuration;
using?System.Data;
using?System.Linq;
using?System.Windows;
namespace?TreeViewWithCheckBoxes
{
????///?
????///?Interaction?logic?for?App.xaml
????///?
????public?partial?class?App?:?Application
????{
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????303??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\App.xaml
?????文件????????324??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\App.xaml.cs
?????文件???????4469??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\FooViewModel.cs
?????文件???????2308??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\Properties\AssemblyInfo.cs
?????文件???????2873??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\Properties\Resources.Designer.cs
?????文件???????5612??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\Properties\Resources.resx
?????文件???????1107??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\Properties\Settings.Designer.cs
?????文件????????201??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\Properties\Settings.settings
?????文件???????4338??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\TreeViewWithCheckBoxes.csproj
?????文件???????9721??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\VirtualToggleButton.cs
?????文件???????2535??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\Window1.xaml
?????文件????????929??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes\Window1.xaml.cs
?????文件????????956??2014-06-16?23:15??TreeView\Backup\TreeViewWithCheckBoxes.sln
?????文件????????303??2014-06-16?23:15??TreeView\TreeViewWithCheckBoxes\App.xaml
?????文件????????324??2014-06-16?23:15??TreeView\TreeViewWithCheckBoxes\App.xaml.cs
?????文件??????18944??2018-02-08?14:14??TreeView\TreeViewWithCheckBoxes\bin\Debug\TreeViewWithCheckBoxes.exe
?????文件??????50688??2018-02-08?14:14??TreeView\TreeViewWithCheckBoxes\bin\Debug\TreeViewWithCheckBoxes.pdb
?????文件??????22704??2018-02-08?14:13??TreeView\TreeViewWithCheckBoxes\bin\Debug\TreeViewWithCheckBoxes.vshost.exe
?????文件????????490??2017-03-19?05:00??TreeView\TreeViewWithCheckBoxes\bin\Debug\TreeViewWithCheckBoxes.vshost.exe.manifest
?????文件???????4469??2014-06-16?23:15??TreeView\TreeViewWithCheckBoxes\FooViewModel.cs
?????文件???????2322??2018-02-08?14:13??TreeView\TreeViewWithCheckBoxes\obj\Debug\App.g.cs
?????文件???????2322??2018-02-08?14:13??TreeView\TreeViewWithCheckBoxes\obj\Debug\App.g.i.cs
?????文件???????7027??2018-02-08?16:40??TreeView\TreeViewWithCheckBoxes\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件???????3015??2018-02-08?14:14??TreeView\TreeViewWithCheckBoxes\obj\Debug\GeneratedInternalTypeHelper.g.cs
?????文件???????3015??2018-02-08?14:17??TreeView\TreeViewWithCheckBoxes\obj\Debug\GeneratedInternalTypeHelper.g.i.cs
?????文件???????4608??2018-02-08?14:13??TreeView\TreeViewWithCheckBoxes\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
?????文件?????????42??2018-02-08?14:13??TreeView\TreeViewWithCheckBoxes\obj\Debug\TreeViewWithCheckBoxes.csproj.CoreCompileInputs.cache
?????文件???????1877??2018-02-08?14:14??TreeView\TreeViewWithCheckBoxes\obj\Debug\TreeViewWithCheckBoxes.csproj.FileListAbsolute.txt
?????文件????????789??2018-02-08?14:14??TreeView\TreeViewWithCheckBoxes\obj\Debug\TreeViewWithCheckBoxes.csproj.GenerateResource.Cache
?????文件???????1825??2018-02-08?14:14??TreeView\TreeViewWithCheckBoxes\obj\Debug\TreeViewWithCheckBoxes.csprojResolveAssemblyReference.cache
............此處省略36個文件信息
評論
共有 條評論