├── docs
├── black.png
├── dark.png
├── light.png
└── normalcolor.png
├── DynamicAero2
├── Replace.txt
├── ThemeColor.cs
├── Brushes
│ ├── Black.xaml
│ ├── Dark.xaml
│ ├── Light.xaml
│ └── Material
│ │ ├── LightColors.xaml
│ │ ├── BlackColors.xaml
│ │ └── DarkColors.xaml
├── Theme.xaml.cs
├── Styles
│ ├── ContextMenu.xaml.cs
│ ├── Menu.xaml
│ ├── ToolTip.xaml
│ ├── ListBox.xaml
│ ├── ProgressBar.xaml
│ ├── FocusVisual.xaml
│ ├── ListBoxItem.xaml
│ ├── StatusBar.xaml
│ ├── GroupBox.xaml
│ ├── RadioButton.xaml
│ ├── Button.xaml
│ ├── CheckBox.xaml
│ ├── TabControl.xaml
│ ├── ComboBoxItem.xaml
│ ├── ContextMenu.xaml
│ ├── ListViewItem.xaml
│ ├── TextBox.xaml
│ ├── TabItem.xaml
│ ├── Slider.xaml
│ ├── ScrollBar.xaml
│ └── ListView.xaml
├── DynamicAero2.csproj
└── Theme.xaml
├── DynamicAero2.Sample
├── App.xaml.cs
├── DynamicAero2.Sample.csproj
├── App.xaml
├── DataGridItem.cs
├── MainWindow.xaml.cs
└── MainWindow.xaml
├── LICENSE
├── DynamicAero2.sln
├── README.md
├── .gitattributes
└── .gitignore
/docs/black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manju-summoner/DynamicAero2/HEAD/docs/black.png
--------------------------------------------------------------------------------
/docs/dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manju-summoner/DynamicAero2/HEAD/docs/dark.png
--------------------------------------------------------------------------------
/docs/light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manju-summoner/DynamicAero2/HEAD/docs/light.png
--------------------------------------------------------------------------------
/docs/normalcolor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/manju-summoner/DynamicAero2/HEAD/docs/normalcolor.png
--------------------------------------------------------------------------------
/DynamicAero2/Replace.txt:
--------------------------------------------------------------------------------
1 | (?<=(Brush|Background|Fill|Style|Stroke|Template|Data|Foreground)(="{|"\r?\n?\s*Value="{))StaticResource
2 |
3 | DynamicResource
--------------------------------------------------------------------------------
/DynamicAero2/ThemeColor.cs:
--------------------------------------------------------------------------------
1 | namespace DynamicAero2
2 | {
3 | public enum ThemeColor
4 | {
5 | NormalColor,
6 | Black,
7 | Dark,
8 | Light,
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/DynamicAero2.Sample/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace DynamicAero2.Sample
4 | {
5 | ///
6 | /// Interaction logic for App.xaml
7 | ///
8 | public partial class App : Application
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/DynamicAero2.Sample/DynamicAero2.Sample.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | net10.0-windows
6 | true
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/DynamicAero2/Brushes/Black.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DynamicAero2/Brushes/Dark.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DynamicAero2/Brushes/Light.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/DynamicAero2.Sample/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/DynamicAero2/Theme.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows;
3 |
4 | namespace DynamicAero2
5 | {
6 | partial class Theme
7 | {
8 | ThemeColor color;
9 | public ThemeColor Color
10 | {
11 | get => color;
12 | set
13 | {
14 | if (color == value) return;
15 | color = value;
16 | SetColor(color);
17 | }
18 | }
19 |
20 | public Theme()
21 | {
22 | InitializeComponent();
23 | }
24 | void SetColor(ThemeColor color)
25 | {
26 | MergedDictionaries[0] = new ResourceDictionary() { Source = new Uri($"/DynamicAero2;component/Brushes/{color}.xaml", UriKind.Relative) };
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/DynamicAero2.Sample/DataGridItem.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows.Input;
7 |
8 | namespace DynamicAero2.Sample
9 | {
10 | internal class DataGridItem
11 | {
12 | public bool? Check { get; set; }
13 | public string Text { get; set; }
14 | public Key ComboBox { get; set; }
15 |
16 | public static DataGridItem[] Source { get; } = new[]
17 | {
18 | new DataGridItem { Check = true, Text = "Item 1", ComboBox = Key.A },
19 | new DataGridItem { Check = null, Text = "Item 2", ComboBox = Key.B },
20 | new DataGridItem { Check = false, Text = "Item 3", ComboBox = Key.C },
21 | };
22 | public static Key[] KeySource { get; } = Enum.GetValues(typeof(Key)).Cast().ToArray();
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/DynamicAero2.Sample/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace DynamicAero2.Sample
4 | {
5 | ///
6 | /// Interaction logic for MainWindow.xaml
7 | ///
8 | public partial class MainWindow : Window
9 | {
10 | public MainWindow()
11 | {
12 | InitializeComponent();
13 | }
14 |
15 | private void MenuItem_Click(object sender, RoutedEventArgs e)
16 | {
17 | var theme = Application.Current.Resources.MergedDictionaries[0] as DynamicAero2.Theme;
18 | if (theme is null) return;
19 |
20 | theme.Color = theme.Color switch
21 | {
22 | ThemeColor.NormalColor => ThemeColor.Black,
23 | ThemeColor.Black => ThemeColor.Dark,
24 | ThemeColor.Dark => ThemeColor.Light,
25 | _ => ThemeColor.NormalColor
26 | };
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ContextMenu.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Reflection;
4 | using System.Text;
5 | using System.Windows;
6 | using System.Windows.Threading;
7 |
8 | namespace DynamicAero2.Styles
9 | {
10 | partial class ContextMenu
11 | {
12 | public ContextMenu()
13 | {
14 | InitializeComponent();
15 |
16 | AddPrivateControlStyle(typeof(Application).Assembly.GetType("System.Windows.Documents.TextEditorContextMenu+EditorContextMenu"), typeof(System.Windows.Controls.ContextMenu));
17 | AddPrivateControlStyle(typeof(Application).Assembly.GetType("System.Windows.Documents.TextEditorContextMenu+EditorMenuItem"), typeof(System.Windows.Controls.MenuItem));
18 | }
19 | void AddPrivateControlStyle(Type targetType, Type baseType)
20 | {
21 | var baseStyle = this[baseType] as Style;
22 | var style = new Style(targetType, baseStyle);
23 | this.Add(targetType, style);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 manju summoner
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/DynamicAero2/Brushes/Material/LightColors.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 | #ff050505
5 | #ff0b0b0b
6 | #ff121212
7 | #ff222222
8 | #ff494949
9 | #ff6b6b6b
10 | #ff999999
11 | #ffafafaf
12 | #ffd1d1d1
13 | #ffe5e5e5
14 | #fff6f6f6
15 |
16 | #ffe5eef3
17 | #ff36A2DB
18 |
19 | #e5000000
20 | #b3000000
21 | #50000000
22 |
23 | #ff4CAF50
24 |
25 | #ff5a595b
26 |
--------------------------------------------------------------------------------
/DynamicAero2/Brushes/Material/BlackColors.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 | #fffefefe
5 | #fffafafa
6 | #fff5f5f5
7 | #ff656565
8 | #ff212121
9 | #ff090909
10 | #ff000000
11 |
12 | #ff4b4b4b
13 | #ff9c9c9c
14 | #ffc6c6c6
15 | #fff8f8f8
16 |
17 | #ff18394f
18 | #ff11a2ee
19 |
20 | #e5ffffff
21 | #b3ffffff
22 | #50ffffff
23 |
24 | #ff06700c
25 |
26 | #ff414043
27 |
--------------------------------------------------------------------------------
/DynamicAero2/Brushes/Material/DarkColors.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 | #fffafafa
5 | #fff5f5f5
6 | #ffe0e0e0
7 | #ff757575
8 | #ff424242
9 | #ff303030
10 | #ff212121
11 |
12 | #ff616161
13 | #ff9E9E9E
14 | #ffBDBDBD
15 | #ffEEEEEE
16 |
17 | #ff3b5464
18 | #ff36A2DB
19 |
20 | #e5ffffff
21 | #b3ffffff
22 | #50ffffff
23 |
24 | #ff2E7D32
25 |
26 | #ff5a595b
27 |
--------------------------------------------------------------------------------
/DynamicAero2/DynamicAero2.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net10.0-windows
5 | True
6 |
7 | ManjuSummoner
8 | DynamicAero2
9 | DynamicResource version of PresentationFramework.Aero2 for .NET Core WPF Application.
10 | MIT
11 | https://github.com/manju-summoner/DynamicAero2
12 | https://github.com/manju-summoner/DynamicAero2
13 | Copyright (c) 2020- ManjuSummoner
14 | WPF XAML Theme UI Dark Light
15 | false
16 | 1.3.0
17 |
18 |
19 |
20 |
21 | $(DefaultXamlRuntime)
22 | Designer
23 |
24 |
25 | Designer
26 |
27 |
28 | $(DefaultXamlRuntime)
29 | Designer
30 |
31 |
32 | Designer
33 |
34 |
35 | Designer
36 |
37 |
38 | Designer
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/Menu.xaml:
--------------------------------------------------------------------------------
1 |
3 |
27 |
--------------------------------------------------------------------------------
/DynamicAero2.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30309.148
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DynamicAero2", "DynamicAero2\DynamicAero2.csproj", "{91DF8CBA-73A7-4AAB-B850-813D84952403}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DynamicAero2.Sample", "DynamicAero2.Sample\DynamicAero2.Sample.csproj", "{4C1AD850-3855-4A6F-938A-11CDF2BED852}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {91DF8CBA-73A7-4AAB-B850-813D84952403}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {91DF8CBA-73A7-4AAB-B850-813D84952403}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {91DF8CBA-73A7-4AAB-B850-813D84952403}.Release|Any CPU.ActiveCfg = Release|Any CPU
19 | {91DF8CBA-73A7-4AAB-B850-813D84952403}.Release|Any CPU.Build.0 = Release|Any CPU
20 | {4C1AD850-3855-4A6F-938A-11CDF2BED852}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {4C1AD850-3855-4A6F-938A-11CDF2BED852}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {4C1AD850-3855-4A6F-938A-11CDF2BED852}.Release|Any CPU.ActiveCfg = Release|Any CPU
23 | {4C1AD850-3855-4A6F-938A-11CDF2BED852}.Release|Any CPU.Build.0 = Release|Any CPU
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {F0BE3869-A2A8-4E9F-BF89-830A5C060445}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/DynamicAero2/Theme.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # DynamicAero2
2 | DynamicAero2 theme is DynamicResource version of PresentationFramework.Aero2.
3 |
4 | ## Differences from PresentationFramework.Aero2
5 | - All Brush, Style, Template and Data are specified by DynamicResource.
6 | - You can change the color of the control without implementing Style.
7 | ```xaml
8 |
9 |
10 |
11 | ```
12 |
13 | ## Theme
14 | ### NormalColor
15 | Equivalent to PresentationFramework.Aero2.
16 | 
17 | ### Black
18 | 
19 | ### Dark
20 | 
21 | ### Light
22 | 
23 |
24 | ## Download
25 | [Download Nuget Package](https://www.nuget.org/packages/DynamicAero2/)
26 |
27 | ## How to use
28 | After adding `DynamicAero2.dll` to project reference, edit `App.xaml` as follows.
29 | ```xaml
30 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | ```
41 | Change the `Color` property to `Dark` or `Light` if necessary.
42 |
43 | ### Theme with style
44 | The theme will not be applied to controls that have Style applied to them.
45 | If you want to use both Style and Theme, you need to set `BasedOn="{StaticResource {x:type Button}}"` to Style.
46 |
47 | #### Correct code
48 | ```xaml
49 |
54 | ```
55 |
56 | #### Incorrect code
57 | ```xaml
58 |
3 |
36 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ListBox.xaml:
--------------------------------------------------------------------------------
1 |
3 |
45 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ProgressBar.xaml:
--------------------------------------------------------------------------------
1 |
4 |
72 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/FocusVisual.xaml:
--------------------------------------------------------------------------------
1 |
3 |
15 |
16 |
35 |
36 |
55 |
56 |
65 |
66 |
75 |
76 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ListBoxItem.xaml:
--------------------------------------------------------------------------------
1 |
3 |
58 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/StatusBar.xaml:
--------------------------------------------------------------------------------
1 |
3 |
31 |
52 |
85 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/GroupBox.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
87 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/RadioButton.xaml:
--------------------------------------------------------------------------------
1 |
4 |
70 |
71 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # User-specific files (MonoDevelop/Xamarin Studio)
11 | *.userprefs
12 |
13 | # Build results
14 | [Dd]ebug/
15 | [Dd]ebugPublic/
16 | [Rr]elease/
17 | [Rr]eleases/
18 | x64/
19 | x86/
20 | bld/
21 | [Bb]in/
22 | [Oo]bj/
23 | [Ll]og/
24 |
25 | # Visual Studio 2015 cache/options directory
26 | .vs/
27 | # Uncomment if you have tasks that create the project's static files in wwwroot
28 | #wwwroot/
29 |
30 | # MSTest test Results
31 | [Tt]est[Rr]esult*/
32 | [Bb]uild[Ll]og.*
33 |
34 | # NUNIT
35 | *.VisualState.xml
36 | TestResult.xml
37 |
38 | # Build Results of an ATL Project
39 | [Dd]ebugPS/
40 | [Rr]eleasePS/
41 | dlldata.c
42 |
43 | # DNX
44 | project.lock.json
45 | project.fragment.lock.json
46 | artifacts/
47 |
48 | *_i.c
49 | *_p.c
50 | *_i.h
51 | *.ilk
52 | *.meta
53 | *.obj
54 | *.pch
55 | *.pdb
56 | *.pgc
57 | *.pgd
58 | *.rsp
59 | *.sbr
60 | *.tlb
61 | *.tli
62 | *.tlh
63 | *.tmp
64 | *.tmp_proj
65 | *.log
66 | *.vspscc
67 | *.vssscc
68 | .builds
69 | *.pidb
70 | *.svclog
71 | *.scc
72 |
73 | # Chutzpah Test files
74 | _Chutzpah*
75 |
76 | # Visual C++ cache files
77 | ipch/
78 | *.aps
79 | *.ncb
80 | *.opendb
81 | *.opensdf
82 | *.sdf
83 | *.cachefile
84 | *.VC.db
85 | *.VC.VC.opendb
86 |
87 | # Visual Studio profiler
88 | *.psess
89 | *.vsp
90 | *.vspx
91 | *.sap
92 |
93 | # TFS 2012 Local Workspace
94 | $tf/
95 |
96 | # Guidance Automation Toolkit
97 | *.gpState
98 |
99 | # ReSharper is a .NET coding add-in
100 | _ReSharper*/
101 | *.[Rr]e[Ss]harper
102 | *.DotSettings.user
103 |
104 | # JustCode is a .NET coding add-in
105 | .JustCode
106 |
107 | # TeamCity is a build add-in
108 | _TeamCity*
109 |
110 | # DotCover is a Code Coverage Tool
111 | *.dotCover
112 |
113 | # NCrunch
114 | _NCrunch_*
115 | .*crunch*.local.xml
116 | nCrunchTemp_*
117 |
118 | # MightyMoose
119 | *.mm.*
120 | AutoTest.Net/
121 |
122 | # Web workbench (sass)
123 | .sass-cache/
124 |
125 | # Installshield output folder
126 | [Ee]xpress/
127 |
128 | # DocProject is a documentation generator add-in
129 | DocProject/buildhelp/
130 | DocProject/Help/*.HxT
131 | DocProject/Help/*.HxC
132 | DocProject/Help/*.hhc
133 | DocProject/Help/*.hhk
134 | DocProject/Help/*.hhp
135 | DocProject/Help/Html2
136 | DocProject/Help/html
137 |
138 | # Click-Once directory
139 | publish/
140 |
141 | # Publish Web Output
142 | *.[Pp]ublish.xml
143 | *.azurePubxml
144 | # TODO: Comment the next line if you want to checkin your web deploy settings
145 | # but database connection strings (with potential passwords) will be unencrypted
146 | #*.pubxml
147 | *.publishproj
148 |
149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
150 | # checkin your Azure Web App publish settings, but sensitive information contained
151 | # in these scripts will be unencrypted
152 | PublishScripts/
153 |
154 | # NuGet Packages
155 | *.nupkg
156 | # The packages folder can be ignored because of Package Restore
157 | **/packages/*
158 | # except build/, which is used as an MSBuild target.
159 | !**/packages/build/
160 | # Uncomment if necessary however generally it will be regenerated when needed
161 | #!**/packages/repositories.config
162 | # NuGet v3's project.json files produces more ignoreable files
163 | *.nuget.props
164 | *.nuget.targets
165 |
166 | # Microsoft Azure Build Output
167 | csx/
168 | *.build.csdef
169 |
170 | # Microsoft Azure Emulator
171 | ecf/
172 | rcf/
173 |
174 | # Windows Store app package directories and files
175 | AppPackages/
176 | BundleArtifacts/
177 | Package.StoreAssociation.xml
178 | _pkginfo.txt
179 |
180 | # Visual Studio cache files
181 | # files ending in .cache can be ignored
182 | *.[Cc]ache
183 | # but keep track of directories ending in .cache
184 | !*.[Cc]ache/
185 |
186 | # Others
187 | ClientBin/
188 | ~$*
189 | *~
190 | *.dbmdl
191 | *.dbproj.schemaview
192 | *.jfm
193 | *.pfx
194 | *.publishsettings
195 | node_modules/
196 | orleans.codegen.cs
197 |
198 | # Since there are multiple workflows, uncomment next line to ignore bower_components
199 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
200 | #bower_components/
201 |
202 | # RIA/Silverlight projects
203 | Generated_Code/
204 |
205 | # Backup & report files from converting an old project file
206 | # to a newer Visual Studio version. Backup files are not needed,
207 | # because we have git ;-)
208 | _UpgradeReport_Files/
209 | Backup*/
210 | UpgradeLog*.XML
211 | UpgradeLog*.htm
212 |
213 | # SQL Server files
214 | *.mdf
215 | *.ldf
216 |
217 | # Business Intelligence projects
218 | *.rdl.data
219 | *.bim.layout
220 | *.bim_*.settings
221 |
222 | # Microsoft Fakes
223 | FakesAssemblies/
224 |
225 | # GhostDoc plugin setting file
226 | *.GhostDoc.xml
227 |
228 | # Node.js Tools for Visual Studio
229 | .ntvs_analysis.dat
230 |
231 | # Visual Studio 6 build log
232 | *.plg
233 |
234 | # Visual Studio 6 workspace options file
235 | *.opt
236 |
237 | # Visual Studio LightSwitch build output
238 | **/*.HTMLClient/GeneratedArtifacts
239 | **/*.DesktopClient/GeneratedArtifacts
240 | **/*.DesktopClient/ModelManifest.xml
241 | **/*.Server/GeneratedArtifacts
242 | **/*.Server/ModelManifest.xml
243 | _Pvt_Extensions
244 |
245 | # Paket dependency manager
246 | .paket/paket.exe
247 | paket-files/
248 |
249 | # FAKE - F# Make
250 | .fake/
251 |
252 | # JetBrains Rider
253 | .idea/
254 | *.sln.iml
255 |
256 | # CodeRush
257 | .cr/
258 |
259 | # Python Tools for Visual Studio (PTVS)
260 | __pycache__/
261 | *.pyc
--------------------------------------------------------------------------------
/DynamicAero2/Styles/Button.xaml:
--------------------------------------------------------------------------------
1 |
3 |
55 |
77 |
78 |
84 |
85 |
88 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/CheckBox.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
76 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/TabControl.xaml:
--------------------------------------------------------------------------------
1 |
3 |
87 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ComboBoxItem.xaml:
--------------------------------------------------------------------------------
1 |
3 |
87 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ContextMenu.xaml:
--------------------------------------------------------------------------------
1 |
5 |
8 |
104 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ListViewItem.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
12 |
24 |
25 |
28 |
29 |
134 |
135 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/TextBox.xaml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
56 |
57 |
60 |
111 |
112 |
115 |
119 |
122 |
131 |
147 |
148 |
150 |
151 |
--------------------------------------------------------------------------------
/DynamicAero2.Sample/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
36 |
37 |
38 |
39 |
40 | ComboBox
41 | Item
42 | Item
43 |
44 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 | ComboBox
86 | Item
87 | Item
88 |
89 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
134 |
137 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 | ComboBox
154 | Item
155 | Item
156 |
157 |
158 | Disabled ComboBox
159 | Item
160 | Item
161 |
162 |
163 | Editable ComboBox
164 | Item
165 | Item
166 |
167 |
168 | Disabled Editable ComboBox
169 | Item
170 | Item
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 | Item
208 | Item
209 | Item
210 | Item
211 | Item
212 |
213 |
214 | Item
215 | Item
216 | Item
217 | Item
218 | Item
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 | Item1
265 | Item2
266 | Item3
267 | Item4
268 | Item5
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
314 |
319 |
320 | If you want to apply style to controls, you need to set BasedOn="{StaticResource {x:Type Button}" to style.
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/TabItem.xaml:
--------------------------------------------------------------------------------
1 |
3 |
203 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/Slider.xaml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
39 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
112 |
119 |
127 |
133 |
134 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
186 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
213 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
240 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
281 |
288 |
296 |
302 |
303 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
362 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ScrollBar.xaml:
--------------------------------------------------------------------------------
1 |
3 |
16 |
17 |
60 |
61 |
84 |
85 |
108 |
109 |
301 |
302 |
--------------------------------------------------------------------------------
/DynamicAero2/Styles/ListView.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
12 |
13 |
14 |
17 |
104 |
105 |
106 |
131 |
132 |
283 |
284 |
340 |
341 |
--------------------------------------------------------------------------------