diff --git a/HandyControl/HandyControl.csproj b/HandyControl/HandyControl.csproj
index 1840a0a5..787b92a2 100644
--- a/HandyControl/HandyControl.csproj
+++ b/HandyControl/HandyControl.csproj
@@ -204,6 +204,10 @@
Designer
MSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
Designer
MSBuild:Compile
@@ -340,6 +344,10 @@
Designer
MSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
Designer
MSBuild:Compile
diff --git a/HandyControl/Themes/Basic/Colors/Colors.xaml b/HandyControl/Themes/Basic/Colors/Colors.xaml
index afa14852..ce8e4aad 100644
--- a/HandyControl/Themes/Basic/Colors/Colors.xaml
+++ b/HandyControl/Themes/Basic/Colors/Colors.xaml
@@ -7,8 +7,8 @@
#ff8792
#ff4c9f
- #ffd07a
- #ff9133
+ #ffd180
+ #ff9100
#4dd0e1
#00bcd4
@@ -23,16 +23,16 @@
White
#e0e0e0
- #a0a0a0
+ #757575
#eeeeee
#ffffff
#eeeeee
- White
+ #9e9e9e
#73a5ff
#5477f5
White
- #f4f4f4
+ #f5f5f5
#ff5722
#d43f3a
diff --git a/HandyControl/Themes/Basic/Colors/ColorsDark.xaml b/HandyControl/Themes/Basic/Colors/ColorsDark.xaml
index 764efce2..30831972 100644
--- a/HandyControl/Themes/Basic/Colors/ColorsDark.xaml
+++ b/HandyControl/Themes/Basic/Colors/ColorsDark.xaml
@@ -27,7 +27,7 @@
#eeeeee
#1c1c1c
#2d2d30
- #2d2d30
+ #424242
#3f3f46
#2d2d30
diff --git a/HandyControl/Themes/Basic/Paths.xaml b/HandyControl/Themes/Basic/Paths.xaml
index ece30805..5afdad94 100644
--- a/HandyControl/Themes/Basic/Paths.xaml
+++ b/HandyControl/Themes/Basic/Paths.xaml
@@ -5,91 +5,91 @@
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/HandyControl/Themes/Styles/Base/BaseStyle.xaml b/HandyControl/Themes/Styles/Base/BaseStyle.xaml
index 428a2e1e..083712a6 100644
--- a/HandyControl/Themes/Styles/Base/BaseStyle.xaml
+++ b/HandyControl/Themes/Styles/Base/BaseStyle.xaml
@@ -5,7 +5,7 @@
-
diff --git a/HandyControl/Themes/Styles/Base/ButtonBaseBaseStyle.xaml b/HandyControl/Themes/Styles/Base/ButtonBaseBaseStyle.xaml
index 60c0150b..455f44ce 100644
--- a/HandyControl/Themes/Styles/Base/ButtonBaseBaseStyle.xaml
+++ b/HandyControl/Themes/Styles/Base/ButtonBaseBaseStyle.xaml
@@ -6,7 +6,7 @@
-
-
-
+
+
\ No newline at end of file
diff --git a/HandyControl/Themes/Styles/Base/ListBoxBaseStyle.xaml b/HandyControl/Themes/Styles/Base/ListBoxBaseStyle.xaml
index 4ec69915..083f7e7a 100644
--- a/HandyControl/Themes/Styles/Base/ListBoxBaseStyle.xaml
+++ b/HandyControl/Themes/Styles/Base/ListBoxBaseStyle.xaml
@@ -3,7 +3,7 @@
xmlns:controls="clr-namespace:HandyControl.Controls">
-
-
-
-
-
-
-
diff --git a/HandyControl/Themes/Styles/Base/ToggleButtonBaseStyle.xaml b/HandyControl/Themes/Styles/Base/ToggleButtonBaseStyle.xaml
index bc3e45fb..9fae3f1d 100644
--- a/HandyControl/Themes/Styles/Base/ToggleButtonBaseStyle.xaml
+++ b/HandyControl/Themes/Styles/Base/ToggleButtonBaseStyle.xaml
@@ -7,12 +7,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/HandyControl/Themes/Styles/ContentControl.xaml b/HandyControl/Themes/Styles/ContentControl.xaml
index 7e262118..535b9f48 100644
--- a/HandyControl/Themes/Styles/ContentControl.xaml
+++ b/HandyControl/Themes/Styles/ContentControl.xaml
@@ -1,7 +1,7 @@
-
diff --git a/HandyControl/Themes/Styles/ContextMenu.xaml b/HandyControl/Themes/Styles/ContextMenu.xaml
index 9b848fa5..b32349e1 100644
--- a/HandyControl/Themes/Styles/ContextMenu.xaml
+++ b/HandyControl/Themes/Styles/ContextMenu.xaml
@@ -6,9 +6,9 @@
-
+
-
+
\ No newline at end of file
diff --git a/HandyControl/Themes/Styles/DataGrid.xaml b/HandyControl/Themes/Styles/DataGrid.xaml
index 75e7192b..5404385c 100644
--- a/HandyControl/Themes/Styles/DataGrid.xaml
+++ b/HandyControl/Themes/Styles/DataGrid.xaml
@@ -11,20 +11,20 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/HandyControl/Themes/Styles/ListBox.xaml b/HandyControl/Themes/Styles/ListBox.xaml
index 10f371e4..85937b3d 100644
--- a/HandyControl/Themes/Styles/ListBox.xaml
+++ b/HandyControl/Themes/Styles/ListBox.xaml
@@ -6,9 +6,9 @@
-
+
-
-
@@ -45,7 +45,7 @@
-
diff --git a/HandyControl/Themes/Styles/Pagination.xaml b/HandyControl/Themes/Styles/Pagination.xaml
index 857b2511..5f4b74b2 100644
--- a/HandyControl/Themes/Styles/Pagination.xaml
+++ b/HandyControl/Themes/Styles/Pagination.xaml
@@ -8,7 +8,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
@@ -53,7 +53,7 @@
-
+
@@ -82,7 +82,7 @@
-
-
+
@@ -241,7 +241,7 @@
-
+
diff --git a/HandyControl/Themes/Styles/Style.xaml b/HandyControl/Themes/Styles/Style.xaml
index 749ca064..a48ec931 100644
--- a/HandyControl/Themes/Styles/Style.xaml
+++ b/HandyControl/Themes/Styles/Style.xaml
@@ -36,6 +36,7 @@
+
\ No newline at end of file
diff --git a/HandyControl/Themes/Styles/TabControl.xaml b/HandyControl/Themes/Styles/TabControl.xaml
index 7591b4a7..2786f569 100644
--- a/HandyControl/Themes/Styles/TabControl.xaml
+++ b/HandyControl/Themes/Styles/TabControl.xaml
@@ -113,17 +113,17 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/HandyControl/Themes/Styles/ToggleButton.xaml b/HandyControl/Themes/Styles/ToggleButton.xaml
index ec6b6a7b..d9f2f408 100644
--- a/HandyControl/Themes/Styles/ToggleButton.xaml
+++ b/HandyControl/Themes/Styles/ToggleButton.xaml
@@ -7,7 +7,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
diff --git a/HandyControlDemo/Data/MessageToken.cs b/HandyControlDemo/Data/MessageToken.cs
index 69ec1060..75a5dc4a 100644
--- a/HandyControlDemo/Data/MessageToken.cs
+++ b/HandyControlDemo/Data/MessageToken.cs
@@ -74,6 +74,8 @@
public static readonly string NaiveScrollViewerDemoCtl = nameof(NaiveScrollViewerDemoCtl);
+ public static readonly string BrushDemoCtl = nameof(BrushDemoCtl);
+
public static readonly string CommonWindow = nameof(CommonWindow);
public static readonly string CustomNonClientAreaWindow = nameof(CustomNonClientAreaWindow);
diff --git a/HandyControlDemo/Data/MessageToken.tt b/HandyControlDemo/Data/MessageToken.tt
index c7618e6e..d5e3e8f6 100644
--- a/HandyControlDemo/Data/MessageToken.tt
+++ b/HandyControlDemo/Data/MessageToken.tt
@@ -42,7 +42,8 @@ var styleList = new List
"TreeViewDemoCtl",
"BorderDemoCtl",
"RadioButtonDemoCtl",
- "NaiveScrollViewerDemoCtl"
+ "NaiveScrollViewerDemoCtl",
+ "BrushDemoCtl"
};
var windowList = new List
{
diff --git a/HandyControlDemo/HandyControlDemo.csproj b/HandyControlDemo/HandyControlDemo.csproj
index 93b8a8ad..8cf607b6 100644
--- a/HandyControlDemo/HandyControlDemo.csproj
+++ b/HandyControlDemo/HandyControlDemo.csproj
@@ -33,6 +33,9 @@
prompt
4
+
+ Resources\Img\icon.ico
+
..\packages\CommonServiceLocator.2.0.2\lib\net45\CommonServiceLocator.dll
@@ -135,6 +138,9 @@
BorderDemoCtl.xaml
+
+ BrushDemoCtl.xaml
+
ButtonDemoCtl.xaml
@@ -261,10 +267,6 @@
Designer
MSBuild:Compile
-
- Designer
- MSBuild:Compile
-
Designer
MSBuild:Compile
@@ -349,6 +351,10 @@
Designer
MSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
Designer
MSBuild:Compile
@@ -477,6 +483,8 @@
TextTemplatingFileGenerator
MessageToken.cs
+
+
diff --git a/HandyControlDemo/Properties/Langs/Lang.Designer.cs b/HandyControlDemo/Properties/Langs/Lang.Designer.cs
index be057c72..4a2ac7fa 100644
--- a/HandyControlDemo/Properties/Langs/Lang.Designer.cs
+++ b/HandyControlDemo/Properties/Langs/Lang.Designer.cs
@@ -114,6 +114,15 @@ namespace HandyControlDemo.Properties.Langs {
}
}
+ ///
+ /// 查找类似 画刷 的本地化字符串。
+ ///
+ public static string Brush {
+ get {
+ return ResourceManager.GetString("Brush", resourceCulture);
+ }
+ }
+
///
/// 查找类似 按钮 的本地化字符串。
///
diff --git a/HandyControlDemo/Properties/Langs/Lang.en.resx b/HandyControlDemo/Properties/Langs/Lang.en.resx
index ea6efc40..f90716fe 100644
--- a/HandyControlDemo/Properties/Langs/Lang.en.resx
+++ b/HandyControlDemo/Properties/Langs/Lang.en.resx
@@ -375,4 +375,7 @@
Blog
+
+ Brush
+
\ No newline at end of file
diff --git a/HandyControlDemo/Properties/Langs/Lang.resx b/HandyControlDemo/Properties/Langs/Lang.resx
index 447ef853..13670a58 100644
--- a/HandyControlDemo/Properties/Langs/Lang.resx
+++ b/HandyControlDemo/Properties/Langs/Lang.resx
@@ -355,4 +355,7 @@
博客
+
+ 画刷
+
\ No newline at end of file
diff --git a/HandyControlDemo/Resources/Img/LeftMainContent/Brush_16x.png b/HandyControlDemo/Resources/Img/LeftMainContent/Brush_16x.png
new file mode 100644
index 00000000..5da71961
Binary files /dev/null and b/HandyControlDemo/Resources/Img/LeftMainContent/Brush_16x.png differ
diff --git a/HandyControlDemo/Resources/Img/icon.ico b/HandyControlDemo/Resources/Img/icon.ico
new file mode 100644
index 00000000..3505fe70
Binary files /dev/null and b/HandyControlDemo/Resources/Img/icon.ico differ
diff --git a/HandyControlDemo/Resources/Themes/Styles/Button.xaml b/HandyControlDemo/Resources/Themes/Styles/Button.xaml
index 076d5b4c..1f5de5d6 100644
--- a/HandyControlDemo/Resources/Themes/Styles/Button.xaml
+++ b/HandyControlDemo/Resources/Themes/Styles/Button.xaml
@@ -11,7 +11,7 @@
-
+
diff --git a/HandyControlDemo/Resources/Themes/Styles/Label.xaml b/HandyControlDemo/Resources/Themes/Styles/Label.xaml
deleted file mode 100644
index b3010b9a..00000000
--- a/HandyControlDemo/Resources/Themes/Styles/Label.xaml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/HandyControlDemo/Resources/Themes/Styles/ListBoxItem.xaml b/HandyControlDemo/Resources/Themes/Styles/ListBoxItem.xaml
index c19fbc87..91811af6 100644
--- a/HandyControlDemo/Resources/Themes/Styles/ListBoxItem.xaml
+++ b/HandyControlDemo/Resources/Themes/Styles/ListBoxItem.xaml
@@ -9,7 +9,7 @@