diff --git a/README.md b/README.md index 141fa146..37f516b6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +![NET_MAUI__Toolkit_Banner](https://cdn.syncfusion.com/content/images/maui/maui-toolkit--controls-banner.png) # Syncfusion Toolkit for .NET MAUI @@ -17,16 +17,7 @@ The Syncfusion Toolkit is built with community collaboration in mind, aiming to ![GitHub issues](https://img.shields.io/github/issues/syncfusion/maui-toolkit) ![GitHub pull requests](https://img.shields.io/github/issues-pr/syncfusion/maui-toolkit) - - -## Supported platforms for .NET MAUI apps - -.NET Multi-platform App UI (.NET MAUI) apps can be written for the following platforms: - -* Android 5.0 (API 21) or higher is required. -* iOS 11 or higher is required. -* macOS 11 or higher, using Mac Catalyst. -* Windows 11 and Windows 10 version 1809 or higher, using Windows UI Library (WinUI) 3. +![NET_MAUI_Toolkit_product](https://cdn.syncfusion.com/content/images/maui/maui-toolkit--controls.png) ## Getting Started ## @@ -72,7 +63,7 @@ Alternatively, add it directly in your `.csproj` file: In order to use the Syncfusion .NET MAUI Toolkit you need to call the extension method in your MauiProgram.cs file as follows: -MauiProgram.cs +**MauiProgram.cs** ```csharp using Syncfusion.Maui.Toolkit.Hosting; @@ -114,7 +105,7 @@ Here’s a quick example to get you started with one of the controls, such as th The following XAML code demonstrates how to set up a basic `SfCartesianChart` using the Syncfusion MAUI Toolkit. This code snippet should be included in the `MainPage.xaml` file of your MAUI project. It sets up the necessary namespaces, binds the `ViewModel` to the `ContentPage`, and configures the `SfCartesianChart` with `CategoryAxis` for the X-axis and `NumericalAxis` for the Y-axis. The creation of the `ViewModel` will be explained in the following section. -MainPage.xaml +**MainPage.xaml** ```xml - + + - + + - + + + + + + + + + + + - + + + + + + - + + - + + + + + + - - - - - - - + + + + + + + + + + ``` Define a simple data model C# class named `Person` to represent a data point, such as a person with a name and height, in your application. -Person.cs +**Person.cs** ```csharp /// @@ -180,7 +195,7 @@ Define a simple data model C# class named `Person` to represent a data point, su Next, create a ViewModel class in C# and initialize it with a list of `Person` objects: -ViewModel.cs +**ViewModel.cs** ```csharp /// @@ -223,9 +238,9 @@ See the [Development Guide](./.github/DEVELOPMENT.md) for more details about thi You can see the full list of contributors [here](https://github.com/syncfusion/maui-toolkit/graphs/contributors) ## About Syncfusion -Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 26,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies. +Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies. -Today, we provide 1600+ components and frameworks for web ([Blazor](https://www.syncfusion.com/blazor-components?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Angular](https://www.syncfusion.com/angular-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [React](https://www.syncfusion.com/react-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Vue](https://www.syncfusion.com/vue-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), and [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget)), mobile ([.NET MAUI](https://www.syncfusion.com/maui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Xamarin](https://www.syncfusion.com/xamarin-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [UWP](https://www.syncfusion.com/uwp-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), and [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget)), and desktop development ([WinForms](https://www.syncfusion.com/winforms-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [WPF](https://www.syncfusion.com/wpf-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [WinUI](https://www.syncfusion.com/winui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget) and [UWP](https://www.syncfusion.com/uwp-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget)). +Today, we provide 1800+ components and frameworks for web ([Blazor](https://www.syncfusion.com/blazor-components?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Angular](https://www.syncfusion.com/angular-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [React](https://www.syncfusion.com/react-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Vue](https://www.syncfusion.com/vue-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), and [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget)), mobile ([.NET MAUI](https://www.syncfusion.com/maui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Xamarin](https://www.syncfusion.com/xamarin-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [UWP](https://www.syncfusion.com/uwp-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), and [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget)), and desktop development ([WinForms](https://www.syncfusion.com/winforms-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [WPF](https://www.syncfusion.com/wpf-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [WinUI](https://www.syncfusion.com/winui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget) and [UWP](https://www.syncfusion.com/uwp-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget)). ___ [sales@syncfusion.com](mailto:sales@syncfusion.com?Subject=Syncfusion%20Maui%toolkit%20-%20NuGet) | [www.syncfusion.com](https://www.syncfusion.com?utm_source=nuget&utm_medium=listing&utm_campaign=maui-toolkit-nuget) | Toll Free: 1-888-9 DOTNET diff --git a/maui/samples/Gallery/App.xaml.cs b/maui/samples/Gallery/App.xaml.cs index 9f8c6071..5f9c61c3 100644 --- a/maui/samples/Gallery/App.xaml.cs +++ b/maui/samples/Gallery/App.xaml.cs @@ -1,12 +1,18 @@ using System.Reflection; -namespace Syncfusion.Maui.ControlsGallery; - -public partial class App : Application +namespace Syncfusion.Maui.ControlsGallery { - public App() + public partial class App : Application { - InitializeComponent(); - var appInfo = typeof(App).GetTypeInfo().Assembly; - MainPage = Syncfusion.Maui.ControlsGallery.BaseConfig.MainPageInit(appInfo); - } -} + public App() + { + InitializeComponent(); + } + + protected override Window CreateWindow(IActivationState? activationState) + { + Assembly assembly = typeof(App).GetTypeInfo().Assembly; + var mainPage = BaseConfig.MainPageInit(assembly); + return new Window(mainPage); + } + } +} \ No newline at end of file diff --git a/maui/samples/Gallery/AppHostBuilder.cs b/maui/samples/Gallery/AppHostBuilder.cs index 96cfc449..a4d2db3a 100644 --- a/maui/samples/Gallery/AppHostBuilder.cs +++ b/maui/samples/Gallery/AppHostBuilder.cs @@ -1,6 +1,4 @@ -using Microsoft.Maui; -using Microsoft.Maui.Hosting; -using Microsoft.Maui.LifecycleEvents; +using Microsoft.Maui.LifecycleEvents; namespace Syncfusion.Maui.ControlsGallery.Hosting { @@ -18,7 +16,7 @@ public static MauiAppBuilder ConfigureSampleBrowserBase(this MauiAppBuilder buil { builder.ConfigureFonts(fonts => { - fonts.AddEmbeddedResourceFont(typeof(AppHostBuilderExtensions).Assembly, "MauiSampleFontIcon.ttf", "MauiSampleFontIcon"); + fonts.AddFont("MauiSampleFontIcon.ttf", "MauiSampleFontIcon"); }); builder.ConfigureLifecycleEvents(AppLifecycle => { diff --git a/maui/samples/Gallery/Controls/NeumorphismView/SfNeumorphismView.cs b/maui/samples/Gallery/Controls/NeumorphismView/SfNeumorphismView.cs index d98025be..ac0285ea 100644 --- a/maui/samples/Gallery/Controls/NeumorphismView/SfNeumorphismView.cs +++ b/maui/samples/Gallery/Controls/NeumorphismView/SfNeumorphismView.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Syncfusion.Maui.ControlsGallery.CustomView +namespace Syncfusion.Maui.ControlsGallery.CustomView { /// /// diff --git a/maui/samples/Gallery/Controls/SfEffectsViewAdv.cs b/maui/samples/Gallery/Controls/SfEffectsViewAdv.cs index 8cdb8be1..8d10c375 100644 --- a/maui/samples/Gallery/Controls/SfEffectsViewAdv.cs +++ b/maui/samples/Gallery/Controls/SfEffectsViewAdv.cs @@ -1,12 +1,5 @@ using Syncfusion.Maui.Toolkit.EffectsView; using Syncfusion.Maui.Toolkit.Internals; -using Syncfusion.Maui.Toolkit; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using PointerEventArgs = Syncfusion.Maui.Toolkit.Internals.PointerEventArgs; namespace Syncfusion.Maui.ControlsGallery.CustomView diff --git a/maui/samples/Gallery/Converters/BrushToColorConverter.cs b/maui/samples/Gallery/Converters/BrushToColorConverter.cs index f7f8c486..98e23201 100644 --- a/maui/samples/Gallery/Converters/BrushToColorConverter.cs +++ b/maui/samples/Gallery/Converters/BrushToColorConverter.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Globalization; namespace Syncfusion.Maui.ControlsGallery.Converters { diff --git a/maui/samples/Gallery/Converters/InvertedBoolConverter.cs b/maui/samples/Gallery/Converters/InvertedBoolConverter.cs index 8976e961..94903f3c 100644 --- a/maui/samples/Gallery/Converters/InvertedBoolConverter.cs +++ b/maui/samples/Gallery/Converters/InvertedBoolConverter.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Globalization; namespace Syncfusion.Maui.ControlsGallery.Converters { diff --git a/maui/samples/Gallery/Converters/TagToPaddingConverter.cs b/maui/samples/Gallery/Converters/TagToPaddingConverter.cs index 06f7f2e1..0fa52366 100644 --- a/maui/samples/Gallery/Converters/TagToPaddingConverter.cs +++ b/maui/samples/Gallery/Converters/TagToPaddingConverter.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Globalization; namespace Syncfusion.Maui.ControlsGallery.Converters { diff --git a/maui/samples/Gallery/CustomView/CustomCardLayout.cs b/maui/samples/Gallery/CustomView/CustomCardLayout.cs index 704754c5..9fac56a9 100644 --- a/maui/samples/Gallery/CustomView/CustomCardLayout.cs +++ b/maui/samples/Gallery/CustomView/CustomCardLayout.cs @@ -1,6 +1,4 @@ using Microsoft.Maui.Controls.Shapes; -using Syncfusion.Maui.ControlsGallery.Converters; -using System.Reflection; namespace Syncfusion.Maui.ControlsGallery.CustomView { diff --git a/maui/samples/Gallery/CustomView/GettingStartedView.xaml b/maui/samples/Gallery/CustomView/GettingStartedView.xaml index 103328e6..c34fb81b 100644 --- a/maui/samples/Gallery/CustomView/GettingStartedView.xaml +++ b/maui/samples/Gallery/CustomView/GettingStartedView.xaml @@ -13,10 +13,14 @@ - + + + + + \ No newline at end of file diff --git a/maui/samples/Gallery/CustomView/GettingStartedView.xaml.cs b/maui/samples/Gallery/CustomView/GettingStartedView.xaml.cs index aae9337d..1ca64d45 100644 --- a/maui/samples/Gallery/CustomView/GettingStartedView.xaml.cs +++ b/maui/samples/Gallery/CustomView/GettingStartedView.xaml.cs @@ -1,77 +1,78 @@ -namespace Syncfusion.Maui.ControlsGallery.CustomView; - -/// -/// GettingStartedSampleView. -/// -public partial class GettingStartedSampleView : SampleView +namespace Syncfusion.Maui.ControlsGallery.CustomView { - /// - /// GettingStartedSampleView's constructor - /// - public GettingStartedSampleView() + /// + /// GettingStartedSampleView. + /// + public partial class GettingStartedSampleView : SampleView { - InitializeComponent(); - this.HorizontalOptions = LayoutOptions.Fill; - this.VerticalOptions = LayoutOptions.Fill; - this.Margin = new Thickness(-6, -8, -6, -8); - this.Padding = new Thickness(10, 20); - } + /// + /// GettingStartedSampleView's constructor + /// + public GettingStartedSampleView() + { + InitializeComponent(); + this.HorizontalOptions = LayoutOptions.Fill; + this.VerticalOptions = LayoutOptions.Fill; + this.Margin = new Thickness(-6, -8, -6, -8); + this.Padding = new Thickness(10, 20); + } - /// - /// - /// - public static readonly BindableProperty GettingStartedContentProperty = - BindableProperty.Create(nameof(GettingStartedContent), typeof(View), typeof(GettingStartedSampleView), null, propertyChanged: OnContentPropertyChanged); + /// + /// + /// + public static readonly BindableProperty GettingStartedContentProperty = + BindableProperty.Create(nameof(GettingStartedContent), typeof(View), typeof(GettingStartedSampleView), null, propertyChanged: OnContentPropertyChanged); - /// - /// - /// - public static readonly BindableProperty FrameWidthProperty = - BindableProperty.Create(nameof(FrameWidth), typeof(double), typeof(GettingStartedSampleView), null, propertyChanged: OnWidthPropertyChanged); + /// + /// + /// + public static readonly BindableProperty FrameWidthProperty = + BindableProperty.Create(nameof(FrameWidth), typeof(double), typeof(GettingStartedSampleView), null, propertyChanged: OnWidthPropertyChanged); - /// - /// - /// - public double FrameWidth - { - get => (double)GetValue(FrameWidthProperty); - set => SetValue(FrameWidthProperty, value); - } + /// + /// + /// + public double FrameWidth + { + get => (double)GetValue(FrameWidthProperty); + set => SetValue(FrameWidthProperty, value); + } - /// - /// - /// - public View GettingStartedContent - { - get => (View)GetValue(GettingStartedContentProperty); - set => SetValue(GettingStartedContentProperty, value); - } + /// + /// + /// + public View GettingStartedContent + { + get => (View)GetValue(GettingStartedContentProperty); + set => SetValue(GettingStartedContentProperty, value); + } - private static void OnWidthPropertyChanged(BindableObject bindable, object oldValue, object newValue) - { - var bind = bindable as GettingStartedSampleView; - bind?.WidthChanged((double)newValue); - } + private static void OnWidthPropertyChanged(BindableObject bindable, object oldValue, object newValue) + { + var bind = bindable as GettingStartedSampleView; + bind?.WidthChanged((double)newValue); + } - private void WidthChanged(double width) - { - if(frame != null) - { - frame.WidthRequest = width > 0 ? width : 400; - } - } + private void WidthChanged(double width) + { + if (frame != null) + { + frame.WidthRequest = width > 0 ? width : 400; + } + } - private static void OnContentPropertyChanged(BindableObject bindable, object oldValue, object newValue) - { - var bind = bindable as GettingStartedSampleView; - bind?.ContentChanged((View)newValue); - } + private static void OnContentPropertyChanged(BindableObject bindable, object oldValue, object newValue) + { + var bind = bindable as GettingStartedSampleView; + bind?.ContentChanged((View)newValue); + } - private void ContentChanged(View newValue) - { - if(frame != null) - { - this.frame.Content = newValue; - } - } + private void ContentChanged(View newValue) + { + if (frame != null) + { + this.frame.Content = newValue; + } + } + } } \ No newline at end of file diff --git a/maui/samples/Gallery/CustomView/SfEntry.cs b/maui/samples/Gallery/CustomView/SfEntry.cs index a74b52b1..280feef2 100644 --- a/maui/samples/Gallery/CustomView/SfEntry.cs +++ b/maui/samples/Gallery/CustomView/SfEntry.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.Maui.Platform; +using Microsoft.Maui.Platform; #if ANDROID using Android.Content.Res; #endif diff --git a/maui/samples/Gallery/MauiProgram.cs b/maui/samples/Gallery/MauiProgram.cs index cd2c9c09..532a6a4b 100644 --- a/maui/samples/Gallery/MauiProgram.cs +++ b/maui/samples/Gallery/MauiProgram.cs @@ -1,28 +1,26 @@ -namespace Syncfusion.Maui.ControlsGallery; - -using Microsoft.Maui.Controls.Hosting; -using Microsoft.Maui.Hosting; -using Syncfusion.Maui.ControlsGallery.Hosting; +using Syncfusion.Maui.ControlsGallery.Hosting; using Syncfusion.Maui.Toolkit.Hosting; - -public static class MauiProgram +namespace Syncfusion.Maui.ControlsGallery { - public static MauiApp CreateMauiApp() + public static class MauiProgram { - var builder = MauiApp.CreateBuilder(); - builder - .UseMauiApp() - .ConfigureSyncfusionToolkit() - .ConfigureFonts(fonts => - { - fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); - fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); - fonts.AddFont("Roboto-Medium.ttf", "RobotoMedium"); - fonts.AddFont("Roboto-Regular.ttf", "Roboto"); - fonts.AddFont("Sync FontIcons.ttf"); - fonts.AddFont("SegmentIcon.ttf", "SegmentIcon"); - }); - builder.ConfigureSampleBrowserBase(); - return builder.Build(); + public static MauiApp CreateMauiApp() + { + var builder = MauiApp.CreateBuilder(); + builder + .UseMauiApp() + .ConfigureSyncfusionToolkit() + .ConfigureFonts(fonts => + { + fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); + fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); + fonts.AddFont("Roboto-Medium.ttf", "RobotoMedium"); + fonts.AddFont("Roboto-Regular.ttf", "Roboto"); + fonts.AddFont("SyncFontIcons.ttf", "SyncFontIcons"); + fonts.AddFont("SegmentIcon.ttf", "SegmentIcon"); + }); + builder.ConfigureSampleBrowserBase(); + return builder.Build(); + } } } diff --git a/maui/samples/Gallery/Platforms/Android/MainActivity.cs b/maui/samples/Gallery/Platforms/Android/MainActivity.cs index e788f2fd..5b01995c 100644 --- a/maui/samples/Gallery/Platforms/Android/MainActivity.cs +++ b/maui/samples/Gallery/Platforms/Android/MainActivity.cs @@ -1,7 +1,6 @@ using Android.App; using Android.Content.PM; using Android.OS; -using Microsoft.Maui; namespace Syncfusion.Maui.ControlsGallery; diff --git a/maui/samples/Gallery/Platforms/Android/MainApplication.cs b/maui/samples/Gallery/Platforms/Android/MainApplication.cs index d757d5f2..0c9f9e9f 100644 --- a/maui/samples/Gallery/Platforms/Android/MainApplication.cs +++ b/maui/samples/Gallery/Platforms/Android/MainApplication.cs @@ -1,8 +1,5 @@ using Android.App; using Android.Runtime; -using Microsoft.Maui; -using Microsoft.Maui.Hosting; -using System; namespace Syncfusion.Maui.ControlsGallery; diff --git a/maui/samples/Gallery/Platforms/MacCatalyst/AppDelegate.cs b/maui/samples/Gallery/Platforms/MacCatalyst/AppDelegate.cs index e4edc3f5..6f1ef28e 100644 --- a/maui/samples/Gallery/Platforms/MacCatalyst/AppDelegate.cs +++ b/maui/samples/Gallery/Platforms/MacCatalyst/AppDelegate.cs @@ -1,6 +1,4 @@ using Foundation; -using Microsoft.Maui; -using Microsoft.Maui.Hosting; namespace Syncfusion.Maui.ControlsGallery; diff --git a/maui/samples/Gallery/Platforms/MacCatalyst/Program.cs b/maui/samples/Gallery/Platforms/MacCatalyst/Program.cs index 38fddcaa..7d7a2b12 100644 --- a/maui/samples/Gallery/Platforms/MacCatalyst/Program.cs +++ b/maui/samples/Gallery/Platforms/MacCatalyst/Program.cs @@ -1,5 +1,4 @@ -using ObjCRuntime; -using UIKit; +using UIKit; namespace Syncfusion.Maui.ControlsGallery; diff --git a/maui/samples/Gallery/Platforms/iOS/AppDelegate.cs b/maui/samples/Gallery/Platforms/iOS/AppDelegate.cs index e4edc3f5..6f1ef28e 100644 --- a/maui/samples/Gallery/Platforms/iOS/AppDelegate.cs +++ b/maui/samples/Gallery/Platforms/iOS/AppDelegate.cs @@ -1,6 +1,4 @@ using Foundation; -using Microsoft.Maui; -using Microsoft.Maui.Hosting; namespace Syncfusion.Maui.ControlsGallery; diff --git a/maui/samples/Gallery/Platforms/iOS/Program.cs b/maui/samples/Gallery/Platforms/iOS/Program.cs index 2db4d2fe..1312718d 100644 --- a/maui/samples/Gallery/Platforms/iOS/Program.cs +++ b/maui/samples/Gallery/Platforms/iOS/Program.cs @@ -1,5 +1,4 @@ -using ObjCRuntime; -using UIKit; +using UIKit; namespace Syncfusion.Maui.ControlsGallery; diff --git a/maui/samples/Gallery/Platforms/iOS/QLPreviewItemFileSystem.cs b/maui/samples/Gallery/Platforms/iOS/QLPreviewItemFileSystem.cs index 8aafa350..9b8b816a 100644 --- a/maui/samples/Gallery/Platforms/iOS/QLPreviewItemFileSystem.cs +++ b/maui/samples/Gallery/Platforms/iOS/QLPreviewItemFileSystem.cs @@ -1,6 +1,5 @@ using Foundation; using QuickLook; -using System.IO; public class QLPreviewItemFileSystem : QLPreviewItem { diff --git a/maui/samples/Gallery/Resources/Fonts/Sync FontIcons.ttf b/maui/samples/Gallery/Resources/Fonts/SyncFontIcons.ttf similarity index 100% rename from maui/samples/Gallery/Resources/Fonts/Sync FontIcons.ttf rename to maui/samples/Gallery/Resources/Fonts/SyncFontIcons.ttf diff --git a/maui/samples/Gallery/Resources/Images/Austria.jpg b/maui/samples/Gallery/Resources/Images/austria.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/Austria.jpg rename to maui/samples/Gallery/Resources/Images/austria.jpg diff --git a/maui/samples/Gallery/Resources/Images/BlueSpeaker.png b/maui/samples/Gallery/Resources/Images/bluespeaker.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/BlueSpeaker.png rename to maui/samples/Gallery/Resources/Images/bluespeaker.png diff --git a/maui/samples/Gallery/Resources/Images/Canada.jpg b/maui/samples/Gallery/Resources/Images/canada.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/Canada.jpg rename to maui/samples/Gallery/Resources/Images/canada.jpg diff --git a/maui/samples/Gallery/Resources/Images/Colombia.jpg b/maui/samples/Gallery/Resources/Images/colombia.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/Colombia.jpg rename to maui/samples/Gallery/Resources/Images/colombia.jpg diff --git a/maui/samples/Gallery/Resources/Images/Dubai.jpg b/maui/samples/Gallery/Resources/Images/dubai.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/Dubai.jpg rename to maui/samples/Gallery/Resources/Images/dubai.jpg diff --git a/maui/samples/Gallery/Resources/Images/effectview_selection.png b/maui/samples/Gallery/Resources/Images/effectviewselection.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/effectview_selection.png rename to maui/samples/Gallery/Resources/Images/effectviewselection.png diff --git a/maui/samples/Gallery/Resources/Images/France.jpg b/maui/samples/Gallery/Resources/Images/france.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/France.jpg rename to maui/samples/Gallery/Resources/Images/france.jpg diff --git a/maui/samples/Gallery/Resources/Images/Germany.jpg b/maui/samples/Gallery/Resources/Images/germany.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/Germany.jpg rename to maui/samples/Gallery/Resources/Images/germany.jpg diff --git a/maui/samples/Gallery/Resources/Images/GreenSpeaker.png b/maui/samples/Gallery/Resources/Images/greenspeaker.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/GreenSpeaker.png rename to maui/samples/Gallery/Resources/Images/greenspeaker.png diff --git a/maui/samples/Gallery/Resources/Images/GreySpeaker.png b/maui/samples/Gallery/Resources/Images/greyspeaker.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/GreySpeaker.png rename to maui/samples/Gallery/Resources/Images/greyspeaker.png diff --git a/maui/samples/Gallery/Resources/Images/India.jpg b/maui/samples/Gallery/Resources/Images/india.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/India.jpg rename to maui/samples/Gallery/Resources/Images/india.jpg diff --git a/maui/samples/Gallery/Resources/Images/Italy.jpg b/maui/samples/Gallery/Resources/Images/italy.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/Italy.jpg rename to maui/samples/Gallery/Resources/Images/italy.jpg diff --git a/maui/samples/Gallery/Resources/Images/Kremlin.jpg b/maui/samples/Gallery/Resources/Images/kremlin.jpg similarity index 100% rename from maui/samples/Gallery/Resources/Images/Kremlin.jpg rename to maui/samples/Gallery/Resources/Images/kremlin.jpg diff --git a/maui/samples/Gallery/Resources/Images/people_circle16.png b/maui/samples/Gallery/Resources/Images/peoplecircle16.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/people_circle16.png rename to maui/samples/Gallery/Resources/Images/peoplecircle16.png diff --git a/maui/samples/Gallery/Resources/Images/people_circle17.png b/maui/samples/Gallery/Resources/Images/peoplecircle17.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/people_circle17.png rename to maui/samples/Gallery/Resources/Images/peoplecircle17.png diff --git a/maui/samples/Gallery/Resources/Images/people_circle18.png b/maui/samples/Gallery/Resources/Images/peoplecircle18.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/people_circle18.png rename to maui/samples/Gallery/Resources/Images/peoplecircle18.png diff --git a/maui/samples/Gallery/Resources/Images/people_circle23.png b/maui/samples/Gallery/Resources/Images/peoplecircle23.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/people_circle23.png rename to maui/samples/Gallery/Resources/Images/peoplecircle23.png diff --git a/maui/samples/Gallery/Resources/Images/people_circle25.png b/maui/samples/Gallery/Resources/Images/peoplecircle25.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/people_circle25.png rename to maui/samples/Gallery/Resources/Images/peoplecircle25.png diff --git a/maui/samples/Gallery/Resources/Images/people_circle26.png b/maui/samples/Gallery/Resources/Images/peoplecircle26.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/people_circle26.png rename to maui/samples/Gallery/Resources/Images/peoplecircle26.png diff --git a/maui/samples/Gallery/Resources/Images/people_circle5.png b/maui/samples/Gallery/Resources/Images/peoplecircle5.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/people_circle5.png rename to maui/samples/Gallery/Resources/Images/peoplecircle5.png diff --git a/maui/samples/Gallery/Resources/Images/people_circle9.png b/maui/samples/Gallery/Resources/Images/peoplecircle9.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/people_circle9.png rename to maui/samples/Gallery/Resources/Images/peoplecircle9.png diff --git a/maui/samples/Gallery/Resources/Images/PinkSpeaker.png b/maui/samples/Gallery/Resources/Images/pinkspeaker.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/PinkSpeaker.png rename to maui/samples/Gallery/Resources/Images/pinkspeaker.png diff --git a/maui/samples/Gallery/Resources/Images/SandalsSpeaker.png b/maui/samples/Gallery/Resources/Images/sandalsspeaker.png similarity index 100% rename from maui/samples/Gallery/Resources/Images/SandalsSpeaker.png rename to maui/samples/Gallery/Resources/Images/sandalsspeaker.png diff --git a/maui/samples/Gallery/Samples/Carousel/GettingStarted/GettingStartedDesktop.xaml b/maui/samples/Gallery/Samples/Carousel/GettingStarted/GettingStartedDesktop.xaml index 573379ee..79e4dfc8 100644 --- a/maui/samples/Gallery/Samples/Carousel/GettingStarted/GettingStartedDesktop.xaml +++ b/maui/samples/Gallery/Samples/Carousel/GettingStarted/GettingStartedDesktop.xaml @@ -7,11 +7,11 @@ xmlns:imageExtension="clr-namespace:Syncfusion.Maui.ControlsGallery.Converters;assembly=Syncfusion.Maui.ControlsGallery" xmlns:local="clr-namespace:Syncfusion.Maui.ControlsGallery.Carousel.Carousel" xmlns:localcore="clr-namespace:Syncfusion.Maui.ControlsGallery;assembly=Syncfusion.Maui.ControlsGallery" + x:DataType="local:CarouselViewModel" BackgroundColor="{AppThemeBinding Light={StaticResource BackgroundLight}, Dark={StaticResource BackgroundDark}}"> - - -