From ac3e41e9e6618754609b079cee37f014ac119bf9 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Wed, 10 Oct 2018 16:38:52 +0800 Subject: [PATCH] update to v1.3.2 --- ChangeLog.txt | 7 ++ HandyControl/Controls/Carousel.xaml | 12 +-- HandyControl/Controls/ColorPicker.xaml | 40 ++++---- HandyControl/Controls/Growl.xaml | 14 +-- .../Controls/Info/InfoNumericUpDown.xaml | 14 +-- HandyControl/Controls/Info/InfoTextBox.xaml | 10 +- HandyControl/Controls/Pagination.xaml | 14 +-- HandyControl/Controls/Steps/StepBar.xaml | 4 +- HandyControl/Controls/Steps/StepItem.xaml | 6 +- HandyControl/Controls/TimeBar/TimeBar.xaml | 10 +- .../Controls/Window/ImageBrowser.xaml | 26 ++--- HandyControl/Controls/Window/PopupWindow.xaml | 6 +- HandyControl/HandyControl.csproj | 5 + HandyControl/Properties/AssemblyInfo.cs | 4 +- HandyControl/Themes/Basic/Brushes.xaml | 34 +++---- .../Styles/Base/ContextMenuBaseStyle.xaml | 2 +- .../Styles/Base/ProgressBarBaseStyle.xaml | 4 +- .../Styles/Base/TabControlBaseStyle.xaml | 72 ++++++++++++++ .../Styles/Base/ToggleButtonBaseStyle.xaml | 10 +- HandyControl/Themes/Styles/Clock.xaml | 12 +-- HandyControl/Themes/Styles/Expander.xaml | 6 +- HandyControl/Themes/Styles/ListBox.xaml | 6 +- HandyControl/Themes/Styles/Loading.xaml | 4 +- HandyControl/Themes/Styles/Pagination.xaml | 2 +- HandyControl/Themes/Styles/ProgressBar.xaml | 14 +-- HandyControl/Themes/Styles/ScrollViewer.xaml | 4 +- HandyControl/Themes/Styles/Slider.xaml | 8 +- HandyControl/Themes/Styles/TabControl.xaml | 33 +++++++ HandyControl/Themes/Styles/TextBlock.xaml | 4 +- HandyControl/Themes/Styles/ToggleButton.xaml | 6 +- HandyControl/Themes/Styles/ToolTip.xaml | 2 +- HandyControl/Themes/Styles/Window.xaml | 14 +-- HandyControlDemo/Data/MessageToken.cs | 2 + HandyControlDemo/Data/MessageToken.tt | 3 +- HandyControlDemo/HandyControlDemo.csproj | 9 +- HandyControlDemo/MainWindow.xaml | 4 +- HandyControlDemo/Properties/AssemblyInfo.cs | 4 +- .../Resources/Themes/Styles/Label.xaml | 2 +- .../Resources/Themes/Styles/ListBoxItem.xaml | 43 ++++++++ .../Resources/Themes/Styles/Style.xaml | 2 +- .../Resources/Themes/Styles/TreeViewItem.xaml | 21 ---- .../Controls/AnimationPathDemoCtl.xaml | 2 +- .../UserControl/Controls/CarouselDemoCtl.xaml | 12 +-- .../UserControl/Controls/GrowlDemoCtl.xaml | 14 +-- .../UserControl/Controls/LoadingDemoCtl.xaml | 6 +- .../UserControl/Controls/StepBarDemoCtl.xaml | 4 +- .../UserControl/Main/LeftMainContent.xaml | 59 +++++++++-- .../UserControl/Main/LeftMainContent.xaml.cs | 18 +++- .../UserControl/Main/MainContent.xaml | 4 +- .../UserControl/Main/NoUserContent.xaml | 18 ++-- .../UserControl/Styles/ButtonDemoCtl.xaml | 82 ++++++++-------- .../UserControl/Styles/ExpanderDemoCtl.xaml | 8 +- .../Styles/NaiveTabControlDemoCtl.xaml | 97 +++++++++++++++++++ .../Styles/NaiveTabControlDemoCtl.xaml.cs | 11 +++ .../Styles/ProgressBarDemoCtl.xaml | 44 ++++----- HandyControlDemo/ViewModel/MainViewModel.cs | 14 +-- README.md | 60 ++++++------ 57 files changed, 634 insertions(+), 318 deletions(-) create mode 100644 HandyControl/Themes/Styles/Base/TabControlBaseStyle.xaml create mode 100644 HandyControlDemo/Resources/Themes/Styles/ListBoxItem.xaml delete mode 100644 HandyControlDemo/Resources/Themes/Styles/TreeViewItem.xaml create mode 100644 HandyControlDemo/UserControl/Styles/NaiveTabControlDemoCtl.xaml create mode 100644 HandyControlDemo/UserControl/Styles/NaiveTabControlDemoCtl.xaml.cs diff --git a/ChangeLog.txt b/ChangeLog.txt index b9863c8d..b60bbce0 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,10 @@ +2018.10.09 Version 1.3.2 +* new style + - add TabControl + +* fixed bug + - ColorPicker's text is gone. + 2018.10.09 Version 1.3.1 * new style - add TextBox diff --git a/HandyControl/Controls/Carousel.xaml b/HandyControl/Controls/Carousel.xaml index 942c03ee..85c612c8 100644 --- a/HandyControl/Controls/Carousel.xaml +++ b/HandyControl/Controls/Carousel.xaml @@ -13,32 +13,32 @@ - + - + - + - + \ No newline at end of file diff --git a/HandyControl/Controls/ColorPicker.xaml b/HandyControl/Controls/ColorPicker.xaml index efb8bfd1..b6d8951f 100644 --- a/HandyControl/Controls/ColorPicker.xaml +++ b/HandyControl/Controls/ColorPicker.xaml @@ -17,9 +17,9 @@ - + - + @@ -50,45 +50,45 @@ - - - - + + + + - - + + - - + + - - + + - - + + - - + + - + - - + diff --git a/HandyControl/Controls/Info/InfoNumericUpDown.xaml b/HandyControl/Controls/Info/InfoNumericUpDown.xaml index c1f94499..65c786c3 100644 --- a/HandyControl/Controls/Info/InfoNumericUpDown.xaml +++ b/HandyControl/Controls/Info/InfoNumericUpDown.xaml @@ -44,10 +44,10 @@ - - + + - + @@ -56,10 +56,10 @@ - - - - + + + + - - + + - + - - + + diff --git a/HandyControl/Controls/Steps/StepBar.xaml b/HandyControl/Controls/Steps/StepBar.xaml index 927c3c89..dd225d16 100644 --- a/HandyControl/Controls/Steps/StepBar.xaml +++ b/HandyControl/Controls/Steps/StepBar.xaml @@ -5,7 +5,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d"> - - + + \ No newline at end of file diff --git a/HandyControl/Controls/Steps/StepItem.xaml b/HandyControl/Controls/Steps/StepItem.xaml index cedcde3f..cd153e3f 100644 --- a/HandyControl/Controls/Steps/StepItem.xaml +++ b/HandyControl/Controls/Steps/StepItem.xaml @@ -9,9 +9,9 @@ Margin="10,0"> - + - - + + \ No newline at end of file diff --git a/HandyControl/Controls/TimeBar/TimeBar.xaml b/HandyControl/Controls/TimeBar/TimeBar.xaml index 031983ad..2073a1f0 100644 --- a/HandyControl/Controls/TimeBar/TimeBar.xaml +++ b/HandyControl/Controls/TimeBar/TimeBar.xaml @@ -37,12 +37,12 @@ - + - - - - + + + + diff --git a/HandyControl/Controls/Window/ImageBrowser.xaml b/HandyControl/Controls/Window/ImageBrowser.xaml index 8a86cd12..b0e0ab84 100644 --- a/HandyControl/Controls/Window/ImageBrowser.xaml +++ b/HandyControl/Controls/Window/ImageBrowser.xaml @@ -44,21 +44,21 @@ - - + - - + - - + + - + - - + + - + diff --git a/HandyControl/HandyControl.csproj b/HandyControl/HandyControl.csproj index 34c77692..74d27940 100644 --- a/HandyControl/HandyControl.csproj +++ b/HandyControl/HandyControl.csproj @@ -255,6 +255,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -435,6 +439,7 @@ PublicResXFileCodeGenerator Lang.en.Designer.cs + Designer PublicResXFileCodeGenerator diff --git a/HandyControl/Properties/AssemblyInfo.cs b/HandyControl/Properties/AssemblyInfo.cs index 05f94427..ce35ea91 100644 --- a/HandyControl/Properties/AssemblyInfo.cs +++ b/HandyControl/Properties/AssemblyInfo.cs @@ -10,5 +10,5 @@ using System.Runtime.InteropServices; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] -[assembly: AssemblyVersion("1.3.1.1")] -[assembly: AssemblyFileVersion("1.3.1.1")] +[assembly: AssemblyVersion("1.3.2")] +[assembly: AssemblyFileVersion("1.3.2")] diff --git a/HandyControl/Themes/Basic/Brushes.xaml b/HandyControl/Themes/Basic/Brushes.xaml index d7af76b6..ba5b95ca 100644 --- a/HandyControl/Themes/Basic/Brushes.xaml +++ b/HandyControl/Themes/Basic/Brushes.xaml @@ -5,46 +5,46 @@ - + - - - - + + + + - - - + + + - - + + - + - + - + - + - - + + - + \ No newline at end of file diff --git a/HandyControl/Themes/Styles/Base/ContextMenuBaseStyle.xaml b/HandyControl/Themes/Styles/Base/ContextMenuBaseStyle.xaml index 237d4bed..48e27fab 100644 --- a/HandyControl/Themes/Styles/Base/ContextMenuBaseStyle.xaml +++ b/HandyControl/Themes/Styles/Base/ContextMenuBaseStyle.xaml @@ -71,7 +71,7 @@ - + diff --git a/HandyControl/Themes/Styles/Base/ProgressBarBaseStyle.xaml b/HandyControl/Themes/Styles/Base/ProgressBarBaseStyle.xaml index 0c9c3b66..0d607653 100644 --- a/HandyControl/Themes/Styles/Base/ProgressBarBaseStyle.xaml +++ b/HandyControl/Themes/Styles/Base/ProgressBarBaseStyle.xaml @@ -19,7 +19,7 @@ - + @@ -30,7 +30,7 @@ - + diff --git a/HandyControl/Themes/Styles/Base/TabControlBaseStyle.xaml b/HandyControl/Themes/Styles/Base/TabControlBaseStyle.xaml new file mode 100644 index 00000000..495a1448 --- /dev/null +++ b/HandyControl/Themes/Styles/Base/TabControlBaseStyle.xaml @@ -0,0 +1,72 @@ + + + + + + + \ No newline at end of file diff --git a/HandyControl/Themes/Styles/Base/ToggleButtonBaseStyle.xaml b/HandyControl/Themes/Styles/Base/ToggleButtonBaseStyle.xaml index a421b331..33e3c5d8 100644 --- a/HandyControl/Themes/Styles/Base/ToggleButtonBaseStyle.xaml +++ b/HandyControl/Themes/Styles/Base/ToggleButtonBaseStyle.xaml @@ -13,7 +13,7 @@ - + @@ -29,7 +29,7 @@ - + @@ -212,13 +212,13 @@ - + - + - + diff --git a/HandyControl/Themes/Styles/Clock.xaml b/HandyControl/Themes/Styles/Clock.xaml index 2503b846..74452dd3 100644 --- a/HandyControl/Themes/Styles/Clock.xaml +++ b/HandyControl/Themes/Styles/Clock.xaml @@ -40,10 +40,10 @@ - + - + @@ -76,7 +76,7 @@ - + @@ -89,10 +89,10 @@ - + - - + + - - - - - - + - + - - - - + + + + - - - - - + + + + + diff --git a/HandyControlDemo/UserControl/Styles/ButtonDemoCtl.xaml b/HandyControlDemo/UserControl/Styles/ButtonDemoCtl.xaml index 1abda4f8..e595e5aa 100644 --- a/HandyControlDemo/UserControl/Styles/ButtonDemoCtl.xaml +++ b/HandyControlDemo/UserControl/Styles/ButtonDemoCtl.xaml @@ -9,77 +9,77 @@ - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +