From bebeb493a94f1e975ca02b1ffedb896d05cd84d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Tue, 19 Nov 2024 23:28:31 +0800 Subject: [PATCH 01/51] Update TargetFrameworks.props --- src/TargetFrameworks.props | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/TargetFrameworks.props b/src/TargetFrameworks.props index 675ca381..20a68cdc 100644 --- a/src/TargetFrameworks.props +++ b/src/TargetFrameworks.props @@ -2,4 +2,34 @@ net45;net46;net47;net48;net5.0-windows;net6.0-windows;net7.0-windows;net8.0-windows;netcoreapp3.0 + + + 7.0.0 + + + + + 7.0.0 + + + + + 7.0.0 + + + + + 7.0.0 + + + + + 7.0.0 + + + + + 7.0.0 + + \ No newline at end of file From f05fb269ea62e2d6551ebb9a3e3082f6c93ba692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Tue, 19 Nov 2024 23:28:38 +0800 Subject: [PATCH 02/51] Update WPFDevelopers.Net45x.csproj --- .../WPFDevelopers.Net45x.csproj | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/src/WPFDevelopers.Net45x/WPFDevelopers.Net45x.csproj b/src/WPFDevelopers.Net45x/WPFDevelopers.Net45x.csproj index f62c243d..23f90c9f 100644 --- a/src/WPFDevelopers.Net45x/WPFDevelopers.Net45x.csproj +++ b/src/WPFDevelopers.Net45x/WPFDevelopers.Net45x.csproj @@ -23,34 +23,5 @@ 7.0.0 - - - 7.0.0 - - - - - 7.0.0 - - - - - 7.0.0 - - - - - 7.0.0 - - - - - 7.0.0 - - - - - 7.0.0 - - + \ No newline at end of file From f1d464f5192a32bdb245848d85900488eac7befb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Tue, 19 Nov 2024 23:29:34 +0800 Subject: [PATCH 03/51] =?UTF-8?q?add=20in=20DateRange=EF=BC=88#118?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WPFDevelopers.Shared/Controls/PathIcon/PackIconKind.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WPFDevelopers.Shared/Controls/PathIcon/PackIconKind.cs b/src/WPFDevelopers.Shared/Controls/PathIcon/PackIconKind.cs index d59266fd..f41b2163 100644 --- a/src/WPFDevelopers.Shared/Controls/PathIcon/PackIconKind.cs +++ b/src/WPFDevelopers.Shared/Controls/PathIcon/PackIconKind.cs @@ -54,5 +54,7 @@ public enum PackIconKind [Description("WD.BreadCrumbBarGeometry")] BreadCrumbBar, [Description("WD.UnfoldMoreGeometry")] UnfoldMore, [Description("WD.TimeGeometry")] Time, + [Description("WD.DateRangeRightGeometry")] DateRangeRight, + [Description("WD.DateGeometry")] Date, } } From b958ef146cfbd4f7bb4e60663da67efe0a3bf1bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Tue, 19 Nov 2024 23:29:52 +0800 Subject: [PATCH 04/51] Update PanningItemsExample.xaml.cs --- .../ExampleViews/PanningItemsExample.xaml.cs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/PanningItemsExample.xaml.cs b/src/WPFDevelopers.Samples.Shared/ExampleViews/PanningItemsExample.xaml.cs index a9cf3f9f..3b1a801e 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/PanningItemsExample.xaml.cs +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/PanningItemsExample.xaml.cs @@ -1,16 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; +using System.Windows.Controls; namespace WPFDevelopers.Samples.ExampleViews { From 0f4099fa902cd6e9e9033b7c99d1f8fdead421c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Tue, 19 Nov 2024 23:30:06 +0800 Subject: [PATCH 05/51] Update ChatEmoji.cs --- .../Controls/ChatEmoji/ChatEmoji.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs b/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs index 402a96a6..a1363adb 100644 --- a/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs +++ b/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs @@ -122,7 +122,7 @@ private void UpdateIsRight() rightWrapPanel == null) return; if (!IsRight) { - m_textBlock.Foreground = Brushes.White; + //m_textBlock.Foreground = Brushes.White; leftWrapPanel.Visibility = Visibility.Visible; border.Background = ControlsHelper.Brush; rightWrapPanel.Visibility = Visibility.Collapsed; From 7e2dc528bc8c58f8a59b3d66dc70102945e08248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Wed, 20 Nov 2024 22:32:20 +0800 Subject: [PATCH 06/51] Update Styles.ComboBox.xaml --- .../Styles/Styles.ComboBox.xaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/WPFDevelopers.Shared/Styles/Styles.ComboBox.xaml b/src/WPFDevelopers.Shared/Styles/Styles.ComboBox.xaml index d7f35b17..8d80c7dc 100644 --- a/src/WPFDevelopers.Shared/Styles/Styles.ComboBox.xaml +++ b/src/WPFDevelopers.Shared/Styles/Styles.ComboBox.xaml @@ -14,14 +14,14 @@ Padding="6,1.2" BorderThickness="0" SnapsToDevicePixels="true"> - + - - + + @@ -131,7 +131,11 @@ BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{Binding Path=(helpers:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}" SnapsToDevicePixels="True"> - + + + + + - + From cddd9b4347e24db2d9fe070dbd7eca3f5816a5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Wed, 20 Nov 2024 22:32:37 +0800 Subject: [PATCH 07/51] Update MultiSelectComboBox.xaml --- .../Themes/MultiSelectComboBox.xaml | 197 +++++++++--------- 1 file changed, 104 insertions(+), 93 deletions(-) diff --git a/src/WPFDevelopers.Shared/Themes/MultiSelectComboBox.xaml b/src/WPFDevelopers.Shared/Themes/MultiSelectComboBox.xaml index 00704433..4e9ede24 100644 --- a/src/WPFDevelopers.Shared/Themes/MultiSelectComboBox.xaml +++ b/src/WPFDevelopers.Shared/Themes/MultiSelectComboBox.xaml @@ -67,6 +67,8 @@ + + @@ -92,99 +94,108 @@ Duration="00:00:.2" /> - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 675638282dd5a77a34013f6f3b803a1a1cf6876f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Wed, 20 Nov 2024 22:32:45 +0800 Subject: [PATCH 08/51] Update MultiSelectSearchComboBox.xaml --- .../Themes/MultiSelectSearchComboBox.xaml | 271 +++++++++--------- 1 file changed, 142 insertions(+), 129 deletions(-) diff --git a/src/WPFDevelopers.Shared/Themes/MultiSelectSearchComboBox.xaml b/src/WPFDevelopers.Shared/Themes/MultiSelectSearchComboBox.xaml index 0e4a2abc..cfa3b5ce 100644 --- a/src/WPFDevelopers.Shared/Themes/MultiSelectSearchComboBox.xaml +++ b/src/WPFDevelopers.Shared/Themes/MultiSelectSearchComboBox.xaml @@ -17,6 +17,8 @@ + + @@ -42,136 +44,147 @@ Duration="00:00:.2" /> - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + BorderThickness="{TemplateBinding BorderThickness}" + CornerRadius="{Binding Path=(helpers:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}" + Effect="{StaticResource WD.PopupShadowDepth}" + SnapsToDevicePixels="True" + UseLayoutRounding="True" /> + + + + + + + + + + + + + + + From e0516fe4e0868037fc3fbd6838c9b0a7ea491fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Wed, 20 Nov 2024 22:33:09 +0800 Subject: [PATCH 09/51] Update DateRangePickerExample.xaml --- .../ExampleViews/DateRangePickerExample.xaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/DateRangePickerExample.xaml b/src/WPFDevelopers.Samples.Shared/ExampleViews/DateRangePickerExample.xaml index cef95d18..f5614b32 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/DateRangePickerExample.xaml +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/DateRangePickerExample.xaml @@ -19,8 +19,6 @@ EndWatermark="结束日期" StartWatermark="开始日期" /> Date: Wed, 20 Nov 2024 22:33:16 +0800 Subject: [PATCH 10/51] Update MultiSelectComboBoxExample.xaml --- .../ExampleViews/MultiSelectComboBoxExample.xaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectComboBoxExample.xaml b/src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectComboBoxExample.xaml index 3496b003..a9e3b38a 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectComboBoxExample.xaml +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectComboBoxExample.xaml @@ -34,9 +34,7 @@ Rows="2"> Option 1 From a9f54012f757ba845efd4436048af6d5793b0eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Wed, 20 Nov 2024 22:34:09 +0800 Subject: [PATCH 11/51] Update MultiSelectSearchComboBoxExample.xaml --- .../MultiSelectSearchComboBoxExample.xaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml b/src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml index 9be76a4c..c2b57c91 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/MultiSelectSearchComboBoxExample.xaml @@ -30,13 +30,12 @@ Style="{StaticResource WD.SuccessPrimaryButton}" /> + SelectedValuePath="ID" /> From 7617697b0b83d6a38b8fe10e433978b8cba40820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E9=A9=9A=E9=8F=B5?= Date: Wed, 20 Nov 2024 23:16:56 +0800 Subject: [PATCH 12/51] Update DateRangePicker.xaml --- .../Themes/DateRangePicker.xaml | 197 +++++++++--------- 1 file changed, 99 insertions(+), 98 deletions(-) diff --git a/src/WPFDevelopers.Shared/Themes/DateRangePicker.xaml b/src/WPFDevelopers.Shared/Themes/DateRangePicker.xaml index 0070cf1b..8c810d93 100644 --- a/src/WPFDevelopers.Shared/Themes/DateRangePicker.xaml +++ b/src/WPFDevelopers.Shared/Themes/DateRangePicker.xaml @@ -31,7 +31,7 @@ - + - - - - - - @@ -150,6 +144,8 @@ - - + + - + +