From 51f07648ee8696a88eac2e16b3ec225514f51745 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sat, 27 Jul 2024 21:32:20 +0800 Subject: [PATCH] enhance: Optimized the ScrollViewer style. --- src/Avalonia/Directory.Build.props | 2 +- .../Data/DemoInfo.json | 2 +- .../HandyControlDemo_Avalonia.csproj | 4 + .../Service/Data/DataService.cs | 25 ++- .../Styles/RepeatButtonDemoCtl.axaml | 69 ++++++ .../Styles/RepeatButtonDemoCtl.axaml.cs | 9 + .../ViewModel/Main/MainViewModel.cs | 19 +- .../ViewModel/ViewModelLocator.cs | 3 +- .../Themes/Styles/RepeatButton.axaml | 124 +++++++++++ .../Themes/Styles/ScrollBar.axaml | 173 --------------- .../Themes/Styles/ScrollViewer.axaml | 198 +++++++++++++++++- .../Themes/Styles/Style.axaml | 4 +- src/HandyControl.sln | 44 ++-- .../HandyControl_Net_40/Themes/Theme.xaml | 3 +- .../Styles/Base/ScrollViewerBaseStyle.xaml | 7 +- .../HandyControl_Shared/Themes/Theme.xaml | 7 +- 16 files changed, 458 insertions(+), 235 deletions(-) create mode 100644 src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/RepeatButtonDemoCtl.axaml create mode 100644 src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/RepeatButtonDemoCtl.axaml.cs create mode 100644 src/Avalonia/HandyControl_Avalonia/Themes/Styles/RepeatButton.axaml delete mode 100644 src/Avalonia/HandyControl_Avalonia/Themes/Styles/ScrollBar.axaml diff --git a/src/Avalonia/Directory.Build.props b/src/Avalonia/Directory.Build.props index b7d1f090c..d93f9fc38 100644 --- a/src/Avalonia/Directory.Build.props +++ b/src/Avalonia/Directory.Build.props @@ -1,6 +1,6 @@ enable - 11.0.6 + 11.1.1 diff --git a/src/Avalonia/HandyControlDemo_Avalonia/Data/DemoInfo.json b/src/Avalonia/HandyControlDemo_Avalonia/Data/DemoInfo.json index 75d68c351..b2f688de9 100644 --- a/src/Avalonia/HandyControlDemo_Avalonia/Data/DemoInfo.json +++ b/src/Avalonia/HandyControlDemo_Avalonia/Data/DemoInfo.json @@ -1,7 +1,7 @@ [ { "title": "Styles", - "selectedIndex": -1, + "selectedIndex": 0, "group": false, "demoItemList": [ [ "Brush", "BrushDemoCtl", "Brush.Brush", "", "" ], diff --git a/src/Avalonia/HandyControlDemo_Avalonia/HandyControlDemo_Avalonia.csproj b/src/Avalonia/HandyControlDemo_Avalonia/HandyControlDemo_Avalonia.csproj index 15d065568..67d396976 100644 --- a/src/Avalonia/HandyControlDemo_Avalonia/HandyControlDemo_Avalonia.csproj +++ b/src/Avalonia/HandyControlDemo_Avalonia/HandyControlDemo_Avalonia.csproj @@ -65,6 +65,10 @@ BorderDemoCtl.axaml Code + + RepeatButtonDemoCtl.axaml + Code + diff --git a/src/Avalonia/HandyControlDemo_Avalonia/Service/Data/DataService.cs b/src/Avalonia/HandyControlDemo_Avalonia/Service/Data/DataService.cs index 869f37db5..01da66db2 100644 --- a/src/Avalonia/HandyControlDemo_Avalonia/Service/Data/DataService.cs +++ b/src/Avalonia/HandyControlDemo_Avalonia/Service/Data/DataService.cs @@ -16,22 +16,21 @@ internal List GetDemoInfo() { var infoList = new List(); string jsonStr = ReadEmbeddedJsonFile("HandyControlDemo.Data.DemoInfo.json"); - var jsonObj = JsonConvert.DeserializeObject(jsonStr); + dynamic? jsonObj = JsonConvert.DeserializeObject(jsonStr); if (jsonObj is null) { - return new List(); + return []; } - foreach (var item in jsonObj) + foreach (dynamic? item in jsonObj) { - var titleKey = (string) item.title; - var title = titleKey; + string? titleKey = (string) item.title; List list = Convert2DemoItemList(item.demoItemList); var demoInfoModel = new DemoInfoModel { Key = titleKey, - Title = title, + Title = titleKey, DemoItemList = list, SelectedIndex = (int) item.selectedIndex, IsGroupEnabled = (bool) item.group @@ -43,10 +42,10 @@ internal List GetDemoInfo() return infoList; } - private string ReadEmbeddedJsonFile(string resourceName) + private static string ReadEmbeddedJsonFile(string resourceName) { var assembly = Assembly.GetExecutingAssembly(); - var resourceNameWithNamespace = assembly.GetManifestResourceNames() + string? resourceNameWithNamespace = assembly.GetManifestResourceNames() .FirstOrDefault(n => n.EndsWith(resourceName, StringComparison.OrdinalIgnoreCase)); if (resourceNameWithNamespace is null) @@ -64,17 +63,17 @@ private string ReadEmbeddedJsonFile(string resourceName) return reader.ReadToEnd(); } - private List Convert2DemoItemList(dynamic list) + private static List Convert2DemoItemList(dynamic list) { var resultList = new List(); - foreach (var item in list) + foreach (dynamic? item in list) { - var name = (string) item[0]; + string? name = (string) item[0]; string targetCtlName = item[1]; string imageBrushName = item[2]; - var isNew = !string.IsNullOrEmpty((string) item[3]); - var groupName = (string) item[4]; + bool isNew = !string.IsNullOrEmpty((string) item[3]); + string? groupName = (string) item[4]; if (string.IsNullOrEmpty(groupName)) { groupName = "Misc"; diff --git a/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/RepeatButtonDemoCtl.axaml b/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/RepeatButtonDemoCtl.axaml new file mode 100644 index 000000000..0769c264f --- /dev/null +++ b/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/RepeatButtonDemoCtl.axaml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/RepeatButtonDemoCtl.axaml.cs b/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/RepeatButtonDemoCtl.axaml.cs new file mode 100644 index 000000000..d3fc581af --- /dev/null +++ b/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/RepeatButtonDemoCtl.axaml.cs @@ -0,0 +1,9 @@ +namespace HandyControlDemo.UserControl; + +public partial class RepeatButtonDemoCtl : Avalonia.Controls.UserControl +{ + public RepeatButtonDemoCtl() + { + InitializeComponent(); + } +} diff --git a/src/Avalonia/HandyControlDemo_Avalonia/ViewModel/Main/MainViewModel.cs b/src/Avalonia/HandyControlDemo_Avalonia/ViewModel/Main/MainViewModel.cs index 2f5bd4d3d..29ac68d50 100644 --- a/src/Avalonia/HandyControlDemo_Avalonia/ViewModel/Main/MainViewModel.cs +++ b/src/Avalonia/HandyControlDemo_Avalonia/ViewModel/Main/MainViewModel.cs @@ -1,5 +1,6 @@ using System; using System.Collections.ObjectModel; +using System.Linq; using Avalonia.Threading; using CommunityToolkit.Mvvm.Messaging; using HandyControlDemo.Data; @@ -44,10 +45,11 @@ public object? ContentTitle private void UpdateMainContent() { - WeakReferenceMessenger.Default.Register(this, MessageToken.SwitchDemo, (_, message) => - { - SwitchDemo(message); - }); + WeakReferenceMessenger.Default.Register( + recipient: this, + token: MessageToken.SwitchDemo, + handler: (_, message) => SwitchDemo(message) + ); } private void UpdateLeftContent() @@ -76,11 +78,9 @@ private void UpdateLeftContent() DemoInfoCollection = []; foreach (var item in _dataService.GetDemoInfo()) { - Dispatcher.UIThread.InvokeAsync(() => - { - DemoInfoCollection.Add(item); - }, DispatcherPriority.ApplicationIdle); + Dispatcher.UIThread.InvokeAsync(() => DemoInfoCollection.Add(item)); } + Dispatcher.UIThread.InvokeAsync(() => SwitchDemo(DemoInfoCollection.First().DemoItemList.First())); } private void SwitchDemo(DemoItemModel item) @@ -92,7 +92,8 @@ private void SwitchDemo(DemoItemModel item) DemoItemCurrent = item; ContentTitle = Lang.ResourceManager.GetString(item.Name, Lang.Culture); - object? demoControl = AssemblyHelper.ResolveByKey(item.TargetCtlName) ?? AssemblyHelper.CreateInternalInstance($"UserControl.{item.TargetCtlName}"); + object? demoControl = AssemblyHelper.ResolveByKey(item.TargetCtlName) ?? + AssemblyHelper.CreateInternalInstance($"UserControl.{item.TargetCtlName}"); SubContent = demoControl; } } diff --git a/src/Avalonia/HandyControlDemo_Avalonia/ViewModel/ViewModelLocator.cs b/src/Avalonia/HandyControlDemo_Avalonia/ViewModel/ViewModelLocator.cs index f3f8fa06b..14dd349bf 100644 --- a/src/Avalonia/HandyControlDemo_Avalonia/ViewModel/ViewModelLocator.cs +++ b/src/Avalonia/HandyControlDemo_Avalonia/ViewModel/ViewModelLocator.cs @@ -6,7 +6,8 @@ namespace HandyControlDemo.ViewModel; public class ViewModelLocator { - private static readonly Lazy InstanceInternal = new(() => new ViewModelLocator(), isThreadSafe: true); + private static readonly Lazy InstanceInternal = + new(() => new ViewModelLocator(), isThreadSafe: true); public static ViewModelLocator Instance => InstanceInternal.Value; diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/RepeatButton.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/RepeatButton.axaml new file mode 100644 index 000000000..6f05ef795 --- /dev/null +++ b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/RepeatButton.axaml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/ScrollBar.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/ScrollBar.axaml deleted file mode 100644 index 0a7da509d..000000000 --- a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/ScrollBar.axaml +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/ScrollViewer.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/ScrollViewer.axaml index 2e327235b..21532c930 100644 --- a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/ScrollViewer.axaml +++ b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/ScrollViewer.axaml @@ -1,5 +1,189 @@  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Style.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Style.axaml index 819b4aeb2..e470671e4 100644 --- a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Style.axaml +++ b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Style.axaml @@ -9,14 +9,14 @@ + - - + diff --git a/src/HandyControl.sln b/src/HandyControl.sln index cfbe2d5d9..5df77418a 100644 --- a/src/HandyControl.sln +++ b/src/HandyControl.sln @@ -48,72 +48,72 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HandyControlDemo_Avalonia", EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU Debug-Avalonia|Any CPU = Debug-Avalonia|Any CPU Debug-Net40|Any CPU = Debug-Net40|Any CPU - Release|Any CPU = Release|Any CPU + Debug-Net-GE45|Any CPU = Debug-Net-GE45|Any CPU Release-Avalonia|Any CPU = Release-Avalonia|Any CPU Release-Net40|Any CPU = Release-Net40|Any CPU + Release-Net-GE45|Any CPU = Release-Net-GE45|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug|Any CPU.Build.0 = Debug|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug-Avalonia|Any CPU.ActiveCfg = Debug|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU - {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release|Any CPU.Build.0 = Release|Any CPU + {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug-Net-GE45|Any CPU.ActiveCfg = Debug|Any CPU + {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug-Net-GE45|Any CPU.Build.0 = Debug|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release-Avalonia|Any CPU.ActiveCfg = Release|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU - {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release-Net-GE45|Any CPU.ActiveCfg = Release|Any CPU + {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release-Net-GE45|Any CPU.Build.0 = Release|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug-Avalonia|Any CPU.ActiveCfg = Debug|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU - {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release|Any CPU.Build.0 = Release|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug-Net-GE45|Any CPU.ActiveCfg = Debug|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug-Net-GE45|Any CPU.Build.0 = Debug|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release-Avalonia|Any CPU.ActiveCfg = Release|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU - {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release-Net-GE45|Any CPU.ActiveCfg = Release|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release-Net-GE45|Any CPU.Build.0 = Release|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug-Avalonia|Any CPU.ActiveCfg = Debug|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug-Net40|Any CPU.Build.0 = Debug|Any CPU - {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug-Net-GE45|Any CPU.ActiveCfg = Debug|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release-Avalonia|Any CPU.ActiveCfg = Release|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release-Net40|Any CPU.Build.0 = Release|Any CPU - {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release-Net-GE45|Any CPU.ActiveCfg = Release|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug-Avalonia|Any CPU.ActiveCfg = Debug|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug-Net40|Any CPU.Build.0 = Debug|Any CPU - {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug-Net-GE45|Any CPU.ActiveCfg = Debug|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release-Avalonia|Any CPU.ActiveCfg = Release|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release-Net40|Any CPU.Build.0 = Release|Any CPU - {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release-Net-GE45|Any CPU.ActiveCfg = Release|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Avalonia|Any CPU.ActiveCfg = Debug|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Net40|Any CPU.Build.0 = Debug|Any CPU - {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release|Any CPU.Build.0 = Release|Any CPU + {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Net-GE45|Any CPU.ActiveCfg = Debug|Any CPU + {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Net-GE45|Any CPU.Build.0 = Debug|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Avalonia|Any CPU.ActiveCfg = Release|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Net40|Any CPU.Build.0 = Release|Any CPU - {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Net-GE45|Any CPU.ActiveCfg = Release|Any CPU + {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Net-GE45|Any CPU.Build.0 = Release|Any CPU {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Debug-Avalonia|Any CPU.ActiveCfg = Debug|Any CPU {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Debug-Avalonia|Any CPU.Build.0 = Debug|Any CPU {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU - {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Debug-Net-GE45|Any CPU.ActiveCfg = Debug|Any CPU {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Release-Avalonia|Any CPU.ActiveCfg = Release|Any CPU {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Release-Avalonia|Any CPU.Build.0 = Release|Any CPU {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU - {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {34D39209-C744-41AA-91D6-C15C68E2A1D9}.Release-Net-GE45|Any CPU.ActiveCfg = Release|Any CPU {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Debug-Avalonia|Any CPU.ActiveCfg = Debug|Any CPU {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Debug-Avalonia|Any CPU.Build.0 = Debug|Any CPU {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU - {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Release|Any CPU.ActiveCfg = Release|Any CPU + {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Debug-Net-GE45|Any CPU.ActiveCfg = Debug|Any CPU {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Release-Avalonia|Any CPU.ActiveCfg = Release|Any CPU {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Release-Avalonia|Any CPU.Build.0 = Release|Any CPU {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU + {99CCAF7C-F9A1-4C54-A5F0-B231E7F7AE66}.Release-Net-GE45|Any CPU.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml index 6d0508f9e..74c858b9c 100644 --- a/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml +++ b/src/Net_40/HandyControl_Net_40/Themes/Theme.xaml @@ -2145,10 +2145,9 @@ - + - diff --git a/src/Shared/HandyControl_Shared/Themes/Styles/Base/ScrollViewerBaseStyle.xaml b/src/Shared/HandyControl_Shared/Themes/Styles/Base/ScrollViewerBaseStyle.xaml index 65f65b86c..71da0b7ee 100644 --- a/src/Shared/HandyControl_Shared/Themes/Styles/Base/ScrollViewerBaseStyle.xaml +++ b/src/Shared/HandyControl_Shared/Themes/Styles/Base/ScrollViewerBaseStyle.xaml @@ -79,7 +79,7 @@ - +