diff --git a/common.props b/common.props
index 1d7fcfe8..976ff0d9 100644
--- a/common.props
+++ b/common.props
@@ -29,8 +29,8 @@
-->
-
-
+
+
diff --git a/src/SharedMauiXamlStylesLibrary.SampleApp/AppShell.xaml b/src/SharedMauiXamlStylesLibrary.SampleApp/AppShell.xaml
index b4fc6dcd..63d51b7d 100644
--- a/src/SharedMauiXamlStylesLibrary.SampleApp/AppShell.xaml
+++ b/src/SharedMauiXamlStylesLibrary.SampleApp/AppShell.xaml
@@ -31,6 +31,11 @@
ContentTemplate="{DataTemplate views:EntryPage}"
Route="EntryPage" />
+
+
();
builder.Services.AddSingleton();
builder.Services.AddSingleton();
+ builder.Services.AddSingleton();
builder.Services.AddSingleton();
return builder;
}
@@ -47,6 +48,7 @@ public static MauiAppBuilder RegisterMainViews(this MauiAppBuilder builder)
builder.Services.AddSingleton();
builder.Services.AddSingleton();
builder.Services.AddSingleton();
+ builder.Services.AddSingleton();
builder.Services.AddSingleton();
return builder;
}
diff --git a/src/SharedMauiXamlStylesLibrary.SampleApp/SharedMauiXamlStylesLibrary.SampleApp.csproj b/src/SharedMauiXamlStylesLibrary.SampleApp/SharedMauiXamlStylesLibrary.SampleApp.csproj
index dcf9983d..90cce147 100644
--- a/src/SharedMauiXamlStylesLibrary.SampleApp/SharedMauiXamlStylesLibrary.SampleApp.csproj
+++ b/src/SharedMauiXamlStylesLibrary.SampleApp/SharedMauiXamlStylesLibrary.SampleApp.csproj
@@ -54,6 +54,9 @@
+
+ SfSegmentedControlPage.xaml
+
EntryPage.xaml
@@ -87,5 +90,8 @@
MSBuild:Compile
+
+ MSBuild:Compile
+
diff --git a/src/SharedMauiXamlStylesLibrary.SampleApp/ViewModels/SfSegmentedControlPageViewModel.cs b/src/SharedMauiXamlStylesLibrary.SampleApp/ViewModels/SfSegmentedControlPageViewModel.cs
new file mode 100644
index 00000000..022b5e9e
--- /dev/null
+++ b/src/SharedMauiXamlStylesLibrary.SampleApp/ViewModels/SfSegmentedControlPageViewModel.cs
@@ -0,0 +1,35 @@
+using CommunityToolkit.Mvvm.ComponentModel;
+using System.Collections.ObjectModel;
+
+namespace SharedMauiXamlStylesLibrary.SampleApp.ViewModels
+{
+ public partial class SfSegmentedControlPageViewModel : BaseViewModel
+ {
+
+ #region Properties
+
+ [ObservableProperty]
+ ObservableCollection sizes = [
+ "S", "M", "L", "XL", "XXL"
+ ];
+
+ [ObservableProperty]
+ int selectedSizeIndex = 0;
+ partial void OnSelectedSizeIndexChanged(int value) => SelectedSize = Sizes[value];
+
+ [ObservableProperty]
+ string selectedSize = string.Empty;
+ #endregion
+
+ #region Constructor, LoadSettings
+
+ public SfSegmentedControlPageViewModel(IDispatcher dispatcher, IServiceProvider provider) : base(dispatcher, provider)
+ {
+ Dispatcher = dispatcher;
+ UpdateVersionBuild();
+ }
+
+ #endregion
+
+ }
+}
diff --git a/src/SharedMauiXamlStylesLibrary.SampleApp/Views/SfSegmentedControlPage.xaml b/src/SharedMauiXamlStylesLibrary.SampleApp/Views/SfSegmentedControlPage.xaml
new file mode 100644
index 00000000..d690f8b3
--- /dev/null
+++ b/src/SharedMauiXamlStylesLibrary.SampleApp/Views/SfSegmentedControlPage.xaml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/SharedMauiXamlStylesLibrary.SampleApp/Views/SfSegmentedControlPage.xaml.cs b/src/SharedMauiXamlStylesLibrary.SampleApp/Views/SfSegmentedControlPage.xaml.cs
new file mode 100644
index 00000000..e97218c6
--- /dev/null
+++ b/src/SharedMauiXamlStylesLibrary.SampleApp/Views/SfSegmentedControlPage.xaml.cs
@@ -0,0 +1,12 @@
+using SharedMauiXamlStylesLibrary.SampleApp.ViewModels;
+
+namespace SharedMauiXamlStylesLibrary.SampleApp.Views;
+
+public partial class SfSegmentedControlPage : ContentPage
+{
+ public SfSegmentedControlPage(SfSegmentedControlPageViewModel viewModel)
+ {
+ InitializeComponent();
+ BindingContext = viewModel;
+ }
+}
\ No newline at end of file
diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfButton.xaml b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfButton.xaml
new file mode 100644
index 00000000..5c1de56f
--- /dev/null
+++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfButton.xaml
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfSegmentedControl.xaml b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfSegmentedControl.xaml
new file mode 100644
index 00000000..b543ce18
--- /dev/null
+++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfSegmentedControl.xaml
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfTreeView.xaml b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfTreeView.xaml
index 7a81d613..8472a5e1 100644
--- a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfTreeView.xaml
+++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/Controls/SfTreeView.xaml
@@ -15,7 +15,7 @@
diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/DefaultTheme.xaml b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/DefaultTheme.xaml
index 56915887..b6ad9ce6 100644
--- a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/DefaultTheme.xaml
+++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/DefaultTheme.xaml
@@ -10,6 +10,7 @@
+
diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedConverters.xaml b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedConverters.xaml
new file mode 100644
index 00000000..e3b19584
--- /dev/null
+++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedConverters.xaml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedConverters.xaml.cs b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedConverters.xaml.cs
new file mode 100644
index 00000000..9a36fb5a
--- /dev/null
+++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedConverters.xaml.cs
@@ -0,0 +1,9 @@
+namespace AndreasReitberger.Shared.Syncfusion;
+
+public partial class SharedConverters
+{
+ public SharedConverters()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedStyles.xaml b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedStyles.xaml
index 4dde4b67..faf2d46b 100644
--- a/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedStyles.xaml
+++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/Resources/Themes/SharedStyles.xaml
@@ -11,6 +11,7 @@
+
@@ -20,9 +21,10 @@
-
+
+
diff --git a/src/SharedMauiXamlStylesLibrary.Syncfusion/SharedMauiXamlStylesLibrary.Syncfusion.csproj b/src/SharedMauiXamlStylesLibrary.Syncfusion/SharedMauiXamlStylesLibrary.Syncfusion.csproj
index f9f336d4..439f4b8b 100644
--- a/src/SharedMauiXamlStylesLibrary.Syncfusion/SharedMauiXamlStylesLibrary.Syncfusion.csproj
+++ b/src/SharedMauiXamlStylesLibrary.Syncfusion/SharedMauiXamlStylesLibrary.Syncfusion.csproj
@@ -55,22 +55,26 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+ SharedConverters.xaml
+
Code
SyncfusionTheme.xaml
@@ -107,12 +111,21 @@
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
MSBuild:Compile
MSBuild:Compile
+
+ MSBuild:Compile
+
MSBuild:Compile
diff --git a/src/SharedMauiXamlStylesLibrary/Resources/Themes/Controls/Button.xaml b/src/SharedMauiXamlStylesLibrary/Resources/Themes/Controls/Button.xaml
index a52df797..89d425d2 100644
--- a/src/SharedMauiXamlStylesLibrary/Resources/Themes/Controls/Button.xaml
+++ b/src/SharedMauiXamlStylesLibrary/Resources/Themes/Controls/Button.xaml
@@ -25,7 +25,6 @@
-
@@ -131,6 +130,12 @@
+
+