From 80ecb6fa06cfbd1712527995da1e4c61ee6ad9da Mon Sep 17 00:00:00 2001 From: Andreas Date: Wed, 5 Oct 2022 13:36:45 +0200 Subject: [PATCH] Update to 1.0.5 - Added SwipeTemplates - Added a class to the template ResourceDictionary --- .../SharedMauiXamlStylesLibrary.csproj | 32 ++++++++++-- .../SharedMauiXamlStylesLibrary.csproj.user | 18 +++++-- .../Controls/Core/EnhancedListView.xaml | 29 +++++++++++ .../Themes/Controls/Label.xaml | 2 +- .../Themes/Controls/RefreshView.xaml | 1 + .../Themes/Controls/Switch.xaml | 15 +++--- .../Controls/Syncfusion/SfCartesianChart.xaml | 20 ++++++++ .../Controls/Syncfusion/SfListView.xaml | 2 +- .../Themes/DefaultTheme.xaml | 6 ++- .../ListViewGroupHeaderTemplates.xaml | 49 +++++++++++++++++++ .../ListViewGroupHeaderTemplates.xaml.cs | 9 ++++ .../ListViewHeaderTemplates.xaml | 18 +++++++ .../ListViewHeaderTemplates.xaml.cs | 9 ++++ .../ItemTemplates/ListViewItemTemplates.xaml | 9 ++-- .../ListViewItemTemplates.xaml.cs | 9 ++++ .../ItemTemplates/ListViewSwipeTemplates.xaml | 7 +-- .../ListViewSwipeTemplates.xaml.cs | 9 ++++ 17 files changed, 219 insertions(+), 25 deletions(-) create mode 100644 source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Core/EnhancedListView.xaml create mode 100644 source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Syncfusion/SfCartesianChart.xaml create mode 100644 source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewGroupHeaderTemplates.xaml create mode 100644 source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewGroupHeaderTemplates.xaml.cs create mode 100644 source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewHeaderTemplates.xaml create mode 100644 source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewHeaderTemplates.xaml.cs create mode 100644 source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewItemTemplates.xaml.cs create mode 100644 source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewSwipeTemplates.xaml.cs diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj index 512804d2..e97ad452 100644 --- a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj @@ -21,7 +21,7 @@ Apache-2.0 README.md True - 1.0.4 + 1.0.5 MAUI Shared Styles Library Andreas Reitberger https://github.com/AndreasReitberger/SharedMauiXamlStyles @@ -82,6 +82,18 @@ + + ListViewGroupHeaderTemplates.xaml + + + ListViewHeaderTemplates.xaml + + + ListViewSwipeTemplates.xaml + + + %(Filename) + SharedColors.xaml @@ -98,6 +110,9 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile @@ -165,6 +180,9 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile @@ -207,9 +225,18 @@ MSBuild:Compile + + MSBuild:Compile + + + MSBuild:Compile + MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile @@ -223,9 +250,6 @@ MSBuild:Compile - - MSBuild:Compile - diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj.user b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj.user index 5231d124..fd052da4 100644 --- a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj.user +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary.csproj.user @@ -9,6 +9,9 @@ Designer + + Designer + Designer @@ -75,6 +78,9 @@ Designer + + Designer + Designer @@ -114,9 +120,18 @@ Designer + + Designer + + + Designer + Designer + + Designer + Designer @@ -129,8 +144,5 @@ Designer - - Designer - \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Core/EnhancedListView.xaml b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Core/EnhancedListView.xaml new file mode 100644 index 00000000..f1bc3498 --- /dev/null +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Core/EnhancedListView.xaml @@ -0,0 +1,29 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Label.xaml b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Label.xaml index b9898b57..3e38cb1e 100644 --- a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Label.xaml +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Label.xaml @@ -170,7 +170,7 @@ \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Switch.xaml b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Switch.xaml index 62a4bafb..dda36d9c 100644 --- a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Switch.xaml +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Switch.xaml @@ -8,8 +8,6 @@ + + \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Syncfusion/SfListView.xaml b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Syncfusion/SfListView.xaml index 19503518..069fd5de 100644 --- a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Syncfusion/SfListView.xaml +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/Controls/Syncfusion/SfListView.xaml @@ -11,7 +11,7 @@ + + + + \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewGroupHeaderTemplates.xaml.cs b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewGroupHeaderTemplates.xaml.cs new file mode 100644 index 00000000..a8c65a09 --- /dev/null +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewGroupHeaderTemplates.xaml.cs @@ -0,0 +1,9 @@ +namespace AndreasReitberger.Shared.Themes.ItemTemplates; + +public partial class ListViewGroupHeaderTemplates : ResourceDictionary +{ + public ListViewGroupHeaderTemplates() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewHeaderTemplates.xaml b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewHeaderTemplates.xaml new file mode 100644 index 00000000..3e10cc43 --- /dev/null +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewHeaderTemplates.xaml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewHeaderTemplates.xaml.cs b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewHeaderTemplates.xaml.cs new file mode 100644 index 00000000..9d8fbc33 --- /dev/null +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewHeaderTemplates.xaml.cs @@ -0,0 +1,9 @@ +namespace AndreasReitberger.Shared.Themes.ItemTemplates; + +public partial class ListViewHeaderTemplates : ResourceDictionary +{ + public ListViewHeaderTemplates() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewItemTemplates.xaml b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewItemTemplates.xaml index 1cba6ccb..fa0b4c94 100644 --- a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewItemTemplates.xaml +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewItemTemplates.xaml @@ -3,6 +3,7 @@ - + - + @@ -182,7 +183,7 @@ - + - + diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewItemTemplates.xaml.cs b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewItemTemplates.xaml.cs new file mode 100644 index 00000000..52d95b32 --- /dev/null +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewItemTemplates.xaml.cs @@ -0,0 +1,9 @@ +namespace AndreasReitberger.Shared.Themes.ItemTemplates; + +public partial class ListViewItemTemplates : ResourceDictionary +{ + public ListViewItemTemplates() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewSwipeTemplates.xaml b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewSwipeTemplates.xaml index 516e7a5e..0e6c5fe7 100644 --- a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewSwipeTemplates.xaml +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewSwipeTemplates.xaml @@ -3,6 +3,7 @@ - + @@ -59,7 +60,7 @@ - + - + \ No newline at end of file diff --git a/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewSwipeTemplates.xaml.cs b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewSwipeTemplates.xaml.cs new file mode 100644 index 00000000..3cbb0e13 --- /dev/null +++ b/source/SharedMauiXamlStylesLibrary/SharedMauiXamlStylesLibrary/Themes/ItemTemplates/ListViewSwipeTemplates.xaml.cs @@ -0,0 +1,9 @@ +namespace AndreasReitberger.Shared.Themes.ItemTemplates; + +public partial class ListViewSwipeTemplates : ResourceDictionary +{ + public ListViewSwipeTemplates() + { + InitializeComponent(); + } +} \ No newline at end of file