diff --git a/Carousel/GettingStarted/GettingStarted.sln b/Carousel/GettingStarted/GettingStarted.sln new file mode 100644 index 0000000..03daf17 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34723.18 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GettingStarted", "GettingStarted\GettingStarted.csproj", "{E948D079-1EFA-4A71-9D81-E39B3FEF0ADD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E948D079-1EFA-4A71-9D81-E39B3FEF0ADD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E948D079-1EFA-4A71-9D81-E39B3FEF0ADD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E948D079-1EFA-4A71-9D81-E39B3FEF0ADD}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {E948D079-1EFA-4A71-9D81-E39B3FEF0ADD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E948D079-1EFA-4A71-9D81-E39B3FEF0ADD}.Release|Any CPU.Build.0 = Release|Any CPU + {E948D079-1EFA-4A71-9D81-E39B3FEF0ADD}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1DB9F07B-3229-4DF7-A1A2-BF8F74041FAC} + EndGlobalSection +EndGlobal diff --git a/Carousel/GettingStarted/GettingStarted/App.xaml b/Carousel/GettingStarted/GettingStarted/App.xaml new file mode 100644 index 0000000..1343b9c --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/Carousel/GettingStarted/GettingStarted/App.xaml.cs b/Carousel/GettingStarted/GettingStarted/App.xaml.cs new file mode 100644 index 0000000..9758931 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/App.xaml.cs @@ -0,0 +1,12 @@ +namespace GettingStarted +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } + } +} diff --git a/Carousel/GettingStarted/GettingStarted/AppShell.xaml b/Carousel/GettingStarted/GettingStarted/AppShell.xaml new file mode 100644 index 0000000..8947f53 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/Carousel/GettingStarted/GettingStarted/AppShell.xaml.cs b/Carousel/GettingStarted/GettingStarted/AppShell.xaml.cs new file mode 100644 index 0000000..b9c11f5 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace GettingStarted +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/Carousel/GettingStarted/GettingStarted/GettingStarted.csproj b/Carousel/GettingStarted/GettingStarted/GettingStarted.csproj new file mode 100644 index 0000000..c63577e --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/GettingStarted.csproj @@ -0,0 +1,66 @@ + + + + net8.0-android;net8.0-ios;net8.0-maccatalyst + $(TargetFrameworks);net8.0-windows10.0.19041.0 + + + + + + + Exe + GettingStarted + true + true + enable + enable + + + GettingStarted + + + com.companyname.gettingstarted + + + 1.0 + 1 + + 11.0 + 13.1 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/GettingStarted/GettingStarted/MainPage.xaml b/Carousel/GettingStarted/GettingStarted/MainPage.xaml new file mode 100644 index 0000000..33ce50a --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/MainPage.xaml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + diff --git a/Carousel/GettingStarted/GettingStarted/MainPage.xaml.cs b/Carousel/GettingStarted/GettingStarted/MainPage.xaml.cs new file mode 100644 index 0000000..872de40 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/MainPage.xaml.cs @@ -0,0 +1,11 @@ +namespace GettingStarted +{ + public partial class MainPage : ContentPage + { + public MainPage() + { + InitializeComponent(); + } + } + +} diff --git a/Carousel/GettingStarted/GettingStarted/MauiProgram.cs b/Carousel/GettingStarted/GettingStarted/MauiProgram.cs new file mode 100644 index 0000000..356a4f2 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/MauiProgram.cs @@ -0,0 +1,27 @@ +using Microsoft.Extensions.Logging; +using Syncfusion.Maui.Toolkit.Hosting; + +namespace GettingStarted +{ + public static class MauiProgram + { + 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"); + }); + +#if DEBUG + builder.Logging.AddDebug(); +#endif + + return builder.Build(); + } + } +} diff --git a/Carousel/GettingStarted/GettingStarted/Model/GalleryModel.cs b/Carousel/GettingStarted/GettingStarted/Model/GalleryModel.cs new file mode 100644 index 0000000..e95b1a9 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Model/GalleryModel.cs @@ -0,0 +1,17 @@ +namespace GettingStarted; + +public class GalleryModel +{ + public GalleryModel(string imageString) + { + ImageName = imageString; + } + + private string? _imageName; + + public string? ImageName + { + get { return _imageName; } + set { _imageName = value; } + } +} \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml b/Carousel/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml new file mode 100644 index 0000000..e9937ad --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs b/Carousel/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs new file mode 100644 index 0000000..5b4c051 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs @@ -0,0 +1,11 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +namespace GettingStarted +{ + [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] + public class MainActivity : MauiAppCompatActivity + { + } +} diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs b/Carousel/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs new file mode 100644 index 0000000..8f5a22b --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs @@ -0,0 +1,16 @@ +using Android.App; +using Android.Runtime; + +namespace GettingStarted +{ + [Application] + public class MainApplication : MauiApplication + { + public MainApplication(IntPtr handle, JniHandleOwnership ownership) + : base(handle, ownership) + { + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml b/Carousel/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml new file mode 100644 index 0000000..c04d749 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml @@ -0,0 +1,6 @@ + + + #512BD4 + #2B0B98 + #2B0B98 + \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs b/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..b2e5b73 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs @@ -0,0 +1,10 @@ +using Foundation; + +namespace GettingStarted +{ + [Register("AppDelegate")] + public class AppDelegate : MauiUIApplicationDelegate + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist b/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist new file mode 100644 index 0000000..de4adc9 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist @@ -0,0 +1,14 @@ + + + + + + + com.apple.security.app-sandbox + + + com.apple.security.network.client + + + + diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist b/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist new file mode 100644 index 0000000..7268977 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + UIDeviceFamily + + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs b/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs new file mode 100644 index 0000000..664fc13 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs @@ -0,0 +1,16 @@ +using ObjCRuntime; +using UIKit; + +namespace GettingStarted +{ + public class Program + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs b/Carousel/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..0b9da5b --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs @@ -0,0 +1,17 @@ +using Microsoft.Maui; +using Microsoft.Maui.Hosting; +using System; + +namespace GettingStarted +{ + internal class Program : MauiApplication + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + + static void Main(string[] args) + { + var app = new Program(); + app.Run(args); + } + } +} diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml b/Carousel/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..f27f233 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml @@ -0,0 +1,15 @@ + + + + + + maui-appicon-placeholder + + + + + http://tizen.org/privilege/internet + + + + \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Windows/App.xaml b/Carousel/GettingStarted/GettingStarted/Platforms/Windows/App.xaml new file mode 100644 index 0000000..6cc1e90 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Windows/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs b/Carousel/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs new file mode 100644 index 0000000..5b1a284 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs @@ -0,0 +1,25 @@ +using Microsoft.UI.Xaml; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace GettingStarted.WinUI +{ + /// + /// Provides application-specific behavior to supplement the default Application class. + /// + public partial class App : MauiWinUIApplication + { + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + this.InitializeComponent(); + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } + +} diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest b/Carousel/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest new file mode 100644 index 0000000..e26ff7a --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest @@ -0,0 +1,46 @@ + + + + + + + + + $placeholder$ + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/Windows/app.manifest b/Carousel/GettingStarted/GettingStarted/Platforms/Windows/app.manifest new file mode 100644 index 0000000..1ab4ba7 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs b/Carousel/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs new file mode 100644 index 0000000..b2e5b73 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs @@ -0,0 +1,10 @@ +using Foundation; + +namespace GettingStarted +{ + [Register("AppDelegate")] + public class AppDelegate : MauiUIApplicationDelegate + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/iOS/Info.plist b/Carousel/GettingStarted/GettingStarted/Platforms/iOS/Info.plist new file mode 100644 index 0000000..0004a4f --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/iOS/Info.plist @@ -0,0 +1,32 @@ + + + + + LSRequiresIPhoneOS + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/Carousel/GettingStarted/GettingStarted/Platforms/iOS/Program.cs b/Carousel/GettingStarted/GettingStarted/Platforms/iOS/Program.cs new file mode 100644 index 0000000..664fc13 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Platforms/iOS/Program.cs @@ -0,0 +1,16 @@ +using ObjCRuntime; +using UIKit; + +namespace GettingStarted +{ + public class Program + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} diff --git a/Carousel/GettingStarted/GettingStarted/Properties/launchSettings.json b/Carousel/GettingStarted/GettingStarted/Properties/launchSettings.json new file mode 100644 index 0000000..edf8aad --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "Windows Machine": { + "commandName": "MsixPackage", + "nativeDebugging": false + } + } +} \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg b/Carousel/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg new file mode 100644 index 0000000..9d63b65 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg b/Carousel/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf b/Carousel/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..2d1edf0 Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf b/Carousel/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..fe13d06 Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/austria.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/austria.jpg new file mode 100644 index 0000000..6919654 Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/austria.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/canada.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/canada.jpg new file mode 100644 index 0000000..b8b1154 Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/canada.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/colombia.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/colombia.jpg new file mode 100644 index 0000000..b35404f Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/colombia.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png b/Carousel/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png new file mode 100644 index 0000000..f93ce02 Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/dubai.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/dubai.jpg new file mode 100644 index 0000000..650b90f Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/dubai.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/france.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/france.jpg new file mode 100644 index 0000000..84b992a Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/france.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/germany.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/germany.jpg new file mode 100644 index 0000000..bf84827 Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/germany.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/india.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/india.jpg new file mode 100644 index 0000000..326fbda Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/india.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/italy.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/italy.jpg new file mode 100644 index 0000000..b346d8f Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/italy.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Images/kremlin.jpg b/Carousel/GettingStarted/GettingStarted/Resources/Images/kremlin.jpg new file mode 100644 index 0000000..6ad3003 Binary files /dev/null and b/Carousel/GettingStarted/GettingStarted/Resources/Images/kremlin.jpg differ diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt b/Carousel/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..15d6244 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt @@ -0,0 +1,15 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories). Deployment of the asset to your application +is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. + + + +These files will be deployed with you package and will be accessible using Essentials: + + async Task LoadMauiAsset() + { + using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); + using var reader = new StreamReader(stream); + + var contents = reader.ReadToEnd(); + } diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Splash/splash.svg b/Carousel/GettingStarted/GettingStarted/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml b/Carousel/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml new file mode 100644 index 0000000..30307a5 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml @@ -0,0 +1,45 @@ + + + + + + + #512BD4 + #ac99ea + #242424 + #DFD8F7 + #9880e5 + #2B0B98 + + White + Black + #D600AA + #190649 + #1f1f1f + + #E1E1E1 + #C8C8C8 + #ACACAC + #919191 + #6E6E6E + #404040 + #212121 + #141414 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Carousel/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml b/Carousel/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml new file mode 100644 index 0000000..e0d36bb --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml @@ -0,0 +1,426 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/GettingStarted/GettingStarted/ViewModel/GalleryViewModel.cs b/Carousel/GettingStarted/GettingStarted/ViewModel/GalleryViewModel.cs new file mode 100644 index 0000000..1ddaf66 --- /dev/null +++ b/Carousel/GettingStarted/GettingStarted/ViewModel/GalleryViewModel.cs @@ -0,0 +1,23 @@ +namespace GettingStarted; + +public class GalleryViewModel +{ + public GalleryViewModel() + { + ImageCollection.Add(new GalleryModel("austria.jpg")); + ImageCollection.Add(new GalleryModel("india.jpg")); + ImageCollection.Add(new GalleryModel("dubai.jpg")); + ImageCollection.Add(new GalleryModel("canada.jpg")); + ImageCollection.Add(new GalleryModel("kremlin.jpg")); + ImageCollection.Add(new GalleryModel("colombia.jpg")); + ImageCollection.Add(new GalleryModel("france.jpg")); + ImageCollection.Add(new GalleryModel("germany.jpg")); + ImageCollection.Add(new GalleryModel("italy.jpg")); + } + private List imageCollection = new List(); + public List ImageCollection + { + get { return imageCollection; } + set { imageCollection = value; } + } +} \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample.sln b/Carousel/LoadMoreSample/LoadMoreSample.sln new file mode 100644 index 0000000..61b6693 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34723.18 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LoadMoreSample", "LoadMoreSample\LoadMoreSample.csproj", "{E2A5CA61-F592-487E-97BE-915DC5F1E05C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E2A5CA61-F592-487E-97BE-915DC5F1E05C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E2A5CA61-F592-487E-97BE-915DC5F1E05C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E2A5CA61-F592-487E-97BE-915DC5F1E05C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {E2A5CA61-F592-487E-97BE-915DC5F1E05C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E2A5CA61-F592-487E-97BE-915DC5F1E05C}.Release|Any CPU.Build.0 = Release|Any CPU + {E2A5CA61-F592-487E-97BE-915DC5F1E05C}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7C90668A-727B-43C4-A06B-527A5AC2A4CF} + EndGlobalSection +EndGlobal diff --git a/Carousel/LoadMoreSample/LoadMoreSample/App.xaml b/Carousel/LoadMoreSample/LoadMoreSample/App.xaml new file mode 100644 index 0000000..98bb72b --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/App.xaml.cs b/Carousel/LoadMoreSample/LoadMoreSample/App.xaml.cs new file mode 100644 index 0000000..463e5b9 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/App.xaml.cs @@ -0,0 +1,12 @@ +namespace LoadMoreSample +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/AppShell.xaml b/Carousel/LoadMoreSample/LoadMoreSample/AppShell.xaml new file mode 100644 index 0000000..562d7a5 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/AppShell.xaml.cs b/Carousel/LoadMoreSample/LoadMoreSample/AppShell.xaml.cs new file mode 100644 index 0000000..be4e9a5 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace LoadMoreSample +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/LoadMoreSample.csproj b/Carousel/LoadMoreSample/LoadMoreSample/LoadMoreSample.csproj new file mode 100644 index 0000000..726e382 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/LoadMoreSample.csproj @@ -0,0 +1,66 @@ + + + + net8.0-android;net8.0-ios;net8.0-maccatalyst + $(TargetFrameworks);net8.0-windows10.0.19041.0 + + + + + + + Exe + LoadMoreSample + true + true + enable + enable + + + LoadMoreSample + + + com.companyname.loadmoresample + + + 1.0 + 1 + + 11.0 + 13.1 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/MainPage.xaml b/Carousel/LoadMoreSample/LoadMoreSample/MainPage.xaml new file mode 100644 index 0000000..69b8045 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/MainPage.xaml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/MainPage.xaml.cs b/Carousel/LoadMoreSample/LoadMoreSample/MainPage.xaml.cs new file mode 100644 index 0000000..b8e1d88 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/MainPage.xaml.cs @@ -0,0 +1,11 @@ +namespace LoadMoreSample +{ + public partial class MainPage : ContentPage + { + public MainPage() + { + InitializeComponent(); + } + } + +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/MauiProgram.cs b/Carousel/LoadMoreSample/LoadMoreSample/MauiProgram.cs new file mode 100644 index 0000000..f35d748 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/MauiProgram.cs @@ -0,0 +1,27 @@ +using Microsoft.Extensions.Logging; +using Syncfusion.Maui.Toolkit.Hosting; + +namespace LoadMoreSample +{ + public static class MauiProgram + { + 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"); + }); + +#if DEBUG + builder.Logging.AddDebug(); +#endif + + return builder.Build(); + } + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Model/GalleryModel.cs b/Carousel/LoadMoreSample/LoadMoreSample/Model/GalleryModel.cs new file mode 100644 index 0000000..b1cc570 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Model/GalleryModel.cs @@ -0,0 +1,17 @@ +namespace LoadMoreSample; + +public class GalleryModel +{ + public GalleryModel(string imageString) + { + ImageName = imageString; + } + + private string? _imageName; + + public string? ImageName + { + get { return _imageName; } + set { _imageName = value; } + } +} \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/AndroidManifest.xml b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/AndroidManifest.xml new file mode 100644 index 0000000..e9937ad --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/MainActivity.cs b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/MainActivity.cs new file mode 100644 index 0000000..df9077b --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/MainActivity.cs @@ -0,0 +1,11 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +namespace LoadMoreSample +{ + [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] + public class MainActivity : MauiAppCompatActivity + { + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/MainApplication.cs b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/MainApplication.cs new file mode 100644 index 0000000..e210b70 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/MainApplication.cs @@ -0,0 +1,16 @@ +using Android.App; +using Android.Runtime; + +namespace LoadMoreSample +{ + [Application] + public class MainApplication : MauiApplication + { + public MainApplication(IntPtr handle, JniHandleOwnership ownership) + : base(handle, ownership) + { + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/Resources/values/colors.xml b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/Resources/values/colors.xml new file mode 100644 index 0000000..c04d749 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Android/Resources/values/colors.xml @@ -0,0 +1,6 @@ + + + #512BD4 + #2B0B98 + #2B0B98 + \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/AppDelegate.cs b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..9980f86 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/AppDelegate.cs @@ -0,0 +1,10 @@ +using Foundation; + +namespace LoadMoreSample +{ + [Register("AppDelegate")] + public class AppDelegate : MauiUIApplicationDelegate + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Entitlements.plist b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Entitlements.plist new file mode 100644 index 0000000..de4adc9 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Entitlements.plist @@ -0,0 +1,14 @@ + + + + + + + com.apple.security.app-sandbox + + + com.apple.security.network.client + + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Info.plist b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Info.plist new file mode 100644 index 0000000..7268977 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Info.plist @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + UIDeviceFamily + + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Program.cs b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Program.cs new file mode 100644 index 0000000..4af2173 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/MacCatalyst/Program.cs @@ -0,0 +1,16 @@ +using ObjCRuntime; +using UIKit; + +namespace LoadMoreSample +{ + public class Program + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Tizen/Main.cs b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..224c5a9 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Tizen/Main.cs @@ -0,0 +1,17 @@ +using Microsoft.Maui; +using Microsoft.Maui.Hosting; +using System; + +namespace LoadMoreSample +{ + internal class Program : MauiApplication + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + + static void Main(string[] args) + { + var app = new Program(); + app.Run(args); + } + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Tizen/tizen-manifest.xml b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..101f419 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Tizen/tizen-manifest.xml @@ -0,0 +1,15 @@ + + + + + + maui-appicon-placeholder + + + + + http://tizen.org/privilege/internet + + + + \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/App.xaml b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/App.xaml new file mode 100644 index 0000000..dc255be --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/App.xaml.cs b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/App.xaml.cs new file mode 100644 index 0000000..f579df8 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/App.xaml.cs @@ -0,0 +1,25 @@ +using Microsoft.UI.Xaml; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace LoadMoreSample.WinUI +{ + /// + /// Provides application-specific behavior to supplement the default Application class. + /// + public partial class App : MauiWinUIApplication + { + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + this.InitializeComponent(); + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } + +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/Package.appxmanifest b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/Package.appxmanifest new file mode 100644 index 0000000..1ea6580 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/Package.appxmanifest @@ -0,0 +1,46 @@ + + + + + + + + + $placeholder$ + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/app.manifest b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/app.manifest new file mode 100644 index 0000000..bcfff7d --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/AppDelegate.cs b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/AppDelegate.cs new file mode 100644 index 0000000..9980f86 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/AppDelegate.cs @@ -0,0 +1,10 @@ +using Foundation; + +namespace LoadMoreSample +{ + [Register("AppDelegate")] + public class AppDelegate : MauiUIApplicationDelegate + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/Info.plist b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/Info.plist new file mode 100644 index 0000000..0004a4f --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/Info.plist @@ -0,0 +1,32 @@ + + + + + LSRequiresIPhoneOS + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/Program.cs b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/Program.cs new file mode 100644 index 0000000..4af2173 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Platforms/iOS/Program.cs @@ -0,0 +1,16 @@ +using ObjCRuntime; +using UIKit; + +namespace LoadMoreSample +{ + public class Program + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Properties/launchSettings.json b/Carousel/LoadMoreSample/LoadMoreSample/Properties/launchSettings.json new file mode 100644 index 0000000..edf8aad --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "Windows Machine": { + "commandName": "MsixPackage", + "nativeDebugging": false + } + } +} \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/AppIcon/appicon.svg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/AppIcon/appicon.svg new file mode 100644 index 0000000..9d63b65 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/AppIcon/appiconfg.svg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/AppIcon/appiconfg.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Fonts/OpenSans-Regular.ttf b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..2d1edf0 Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Fonts/OpenSans-Semibold.ttf b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..fe13d06 Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/austria.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/austria.jpg new file mode 100644 index 0000000..6919654 Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/austria.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/canada.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/canada.jpg new file mode 100644 index 0000000..b8b1154 Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/canada.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/colombia.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/colombia.jpg new file mode 100644 index 0000000..b35404f Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/colombia.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/dotnet_bot.png b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/dotnet_bot.png new file mode 100644 index 0000000..f93ce02 Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/dotnet_bot.png differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/dubai.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/dubai.jpg new file mode 100644 index 0000000..650b90f Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/dubai.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/france.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/france.jpg new file mode 100644 index 0000000..84b992a Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/france.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/germany.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/germany.jpg new file mode 100644 index 0000000..bf84827 Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/germany.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/india.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/india.jpg new file mode 100644 index 0000000..326fbda Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/india.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/italy.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/italy.jpg new file mode 100644 index 0000000..b346d8f Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/italy.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/kremlin.jpg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/kremlin.jpg new file mode 100644 index 0000000..6ad3003 Binary files /dev/null and b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Images/kremlin.jpg differ diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Raw/AboutAssets.txt b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..15d6244 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Raw/AboutAssets.txt @@ -0,0 +1,15 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories). Deployment of the asset to your application +is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. + + + +These files will be deployed with you package and will be accessible using Essentials: + + async Task LoadMauiAsset() + { + using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); + using var reader = new StreamReader(stream); + + var contents = reader.ReadToEnd(); + } diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Splash/splash.svg b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Styles/Colors.xaml b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Styles/Colors.xaml new file mode 100644 index 0000000..30307a5 --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Styles/Colors.xaml @@ -0,0 +1,45 @@ + + + + + + + #512BD4 + #ac99ea + #242424 + #DFD8F7 + #9880e5 + #2B0B98 + + White + Black + #D600AA + #190649 + #1f1f1f + + #E1E1E1 + #C8C8C8 + #ACACAC + #919191 + #6E6E6E + #404040 + #212121 + #141414 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Carousel/LoadMoreSample/LoadMoreSample/Resources/Styles/Styles.xaml b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Styles/Styles.xaml new file mode 100644 index 0000000..e0d36bb --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/Resources/Styles/Styles.xaml @@ -0,0 +1,426 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/LoadMoreSample/LoadMoreSample/ViewModel/GalleryViewModel.cs b/Carousel/LoadMoreSample/LoadMoreSample/ViewModel/GalleryViewModel.cs new file mode 100644 index 0000000..68e3b1c --- /dev/null +++ b/Carousel/LoadMoreSample/LoadMoreSample/ViewModel/GalleryViewModel.cs @@ -0,0 +1,23 @@ +namespace LoadMoreSample; + +public class GalleryViewModel +{ + public GalleryViewModel() + { + ImageCollection.Add(new GalleryModel("austria.jpg")); + ImageCollection.Add(new GalleryModel("india.jpg")); + ImageCollection.Add(new GalleryModel("dubai.jpg")); + ImageCollection.Add(new GalleryModel("canada.jpg")); + ImageCollection.Add(new GalleryModel("kremlin.jpg")); + ImageCollection.Add(new GalleryModel("colombia.jpg")); + ImageCollection.Add(new GalleryModel("france.jpg")); + ImageCollection.Add(new GalleryModel("germany.jpg")); + ImageCollection.Add(new GalleryModel("italy.jpg")); + } + private List imageCollection = new List(); + public List ImageCollection + { + get { return imageCollection; } + set { imageCollection = value; } + } +} \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample.sln b/Carousel/VirtualizationSample/VirtualizationSample.sln new file mode 100644 index 0000000..a708b2a --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34723.18 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VirtualizationSample", "VirtualizationSample\VirtualizationSample.csproj", "{057D2651-EE45-4403-A27F-5986C2F1D414}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {057D2651-EE45-4403-A27F-5986C2F1D414}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {057D2651-EE45-4403-A27F-5986C2F1D414}.Debug|Any CPU.Build.0 = Debug|Any CPU + {057D2651-EE45-4403-A27F-5986C2F1D414}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {057D2651-EE45-4403-A27F-5986C2F1D414}.Release|Any CPU.ActiveCfg = Release|Any CPU + {057D2651-EE45-4403-A27F-5986C2F1D414}.Release|Any CPU.Build.0 = Release|Any CPU + {057D2651-EE45-4403-A27F-5986C2F1D414}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0E104303-90B3-45DF-887E-5DC8CB4927E8} + EndGlobalSection +EndGlobal diff --git a/Carousel/VirtualizationSample/VirtualizationSample/App.xaml b/Carousel/VirtualizationSample/VirtualizationSample/App.xaml new file mode 100644 index 0000000..a4f9b7c --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/App.xaml.cs b/Carousel/VirtualizationSample/VirtualizationSample/App.xaml.cs new file mode 100644 index 0000000..8845d11 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/App.xaml.cs @@ -0,0 +1,12 @@ +namespace VirtualizationSample +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/AppShell.xaml b/Carousel/VirtualizationSample/VirtualizationSample/AppShell.xaml new file mode 100644 index 0000000..478542c --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/AppShell.xaml.cs b/Carousel/VirtualizationSample/VirtualizationSample/AppShell.xaml.cs new file mode 100644 index 0000000..f13fdbe --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace VirtualizationSample +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/MainPage.xaml b/Carousel/VirtualizationSample/VirtualizationSample/MainPage.xaml new file mode 100644 index 0000000..8be774e --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/MainPage.xaml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/MainPage.xaml.cs b/Carousel/VirtualizationSample/VirtualizationSample/MainPage.xaml.cs new file mode 100644 index 0000000..2754c47 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/MainPage.xaml.cs @@ -0,0 +1,11 @@ +namespace VirtualizationSample +{ + public partial class MainPage : ContentPage + { + public MainPage() + { + InitializeComponent(); + } + } + +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/MauiProgram.cs b/Carousel/VirtualizationSample/VirtualizationSample/MauiProgram.cs new file mode 100644 index 0000000..34e097d --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/MauiProgram.cs @@ -0,0 +1,27 @@ +using Microsoft.Extensions.Logging; +using Syncfusion.Maui.Toolkit.Hosting; + +namespace VirtualizationSample +{ + public static class MauiProgram + { + 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"); + }); + +#if DEBUG + builder.Logging.AddDebug(); +#endif + + return builder.Build(); + } + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Model/GalleryModel.cs b/Carousel/VirtualizationSample/VirtualizationSample/Model/GalleryModel.cs new file mode 100644 index 0000000..95731ec --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Model/GalleryModel.cs @@ -0,0 +1,17 @@ +namespace VirtualizationSample; + +public class GalleryModel +{ + public GalleryModel(string imageString) + { + ImageName = imageString; + } + + private string? _imageName; + + public string? ImageName + { + get { return _imageName; } + set { _imageName = value; } + } +} \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/AndroidManifest.xml b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/AndroidManifest.xml new file mode 100644 index 0000000..e9937ad --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/MainActivity.cs b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/MainActivity.cs new file mode 100644 index 0000000..3446d28 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/MainActivity.cs @@ -0,0 +1,11 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +namespace VirtualizationSample +{ + [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] + public class MainActivity : MauiAppCompatActivity + { + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/MainApplication.cs b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/MainApplication.cs new file mode 100644 index 0000000..b8343f0 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/MainApplication.cs @@ -0,0 +1,16 @@ +using Android.App; +using Android.Runtime; + +namespace VirtualizationSample +{ + [Application] + public class MainApplication : MauiApplication + { + public MainApplication(IntPtr handle, JniHandleOwnership ownership) + : base(handle, ownership) + { + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/Resources/values/colors.xml b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/Resources/values/colors.xml new file mode 100644 index 0000000..c04d749 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Android/Resources/values/colors.xml @@ -0,0 +1,6 @@ + + + #512BD4 + #2B0B98 + #2B0B98 + \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/AppDelegate.cs b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..f033889 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/AppDelegate.cs @@ -0,0 +1,10 @@ +using Foundation; + +namespace VirtualizationSample +{ + [Register("AppDelegate")] + public class AppDelegate : MauiUIApplicationDelegate + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Entitlements.plist b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Entitlements.plist new file mode 100644 index 0000000..de4adc9 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Entitlements.plist @@ -0,0 +1,14 @@ + + + + + + + com.apple.security.app-sandbox + + + com.apple.security.network.client + + + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Info.plist b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Info.plist new file mode 100644 index 0000000..7268977 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Info.plist @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + UIDeviceFamily + + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Program.cs b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Program.cs new file mode 100644 index 0000000..0b5040e --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/MacCatalyst/Program.cs @@ -0,0 +1,16 @@ +using ObjCRuntime; +using UIKit; + +namespace VirtualizationSample +{ + public class Program + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Tizen/Main.cs b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..4d4ec4b --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Tizen/Main.cs @@ -0,0 +1,17 @@ +using Microsoft.Maui; +using Microsoft.Maui.Hosting; +using System; + +namespace VirtualizationSample +{ + internal class Program : MauiApplication + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + + static void Main(string[] args) + { + var app = new Program(); + app.Run(args); + } + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Tizen/tizen-manifest.xml b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..5140892 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Tizen/tizen-manifest.xml @@ -0,0 +1,15 @@ + + + + + + maui-appicon-placeholder + + + + + http://tizen.org/privilege/internet + + + + \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/App.xaml b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/App.xaml new file mode 100644 index 0000000..db34eba --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/App.xaml.cs b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/App.xaml.cs new file mode 100644 index 0000000..0b85276 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/App.xaml.cs @@ -0,0 +1,25 @@ +using Microsoft.UI.Xaml; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace VirtualizationSample.WinUI +{ + /// + /// Provides application-specific behavior to supplement the default Application class. + /// + public partial class App : MauiWinUIApplication + { + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + this.InitializeComponent(); + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } + +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/Package.appxmanifest b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/Package.appxmanifest new file mode 100644 index 0000000..4a972b1 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/Package.appxmanifest @@ -0,0 +1,46 @@ + + + + + + + + + $placeholder$ + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/app.manifest b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/app.manifest new file mode 100644 index 0000000..e6bcdd0 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/AppDelegate.cs b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/AppDelegate.cs new file mode 100644 index 0000000..f033889 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/AppDelegate.cs @@ -0,0 +1,10 @@ +using Foundation; + +namespace VirtualizationSample +{ + [Register("AppDelegate")] + public class AppDelegate : MauiUIApplicationDelegate + { + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/Info.plist b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/Info.plist new file mode 100644 index 0000000..0004a4f --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/Info.plist @@ -0,0 +1,32 @@ + + + + + LSRequiresIPhoneOS + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/Program.cs b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/Program.cs new file mode 100644 index 0000000..0b5040e --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Platforms/iOS/Program.cs @@ -0,0 +1,16 @@ +using ObjCRuntime; +using UIKit; + +namespace VirtualizationSample +{ + public class Program + { + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } + } +} diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Properties/launchSettings.json b/Carousel/VirtualizationSample/VirtualizationSample/Properties/launchSettings.json new file mode 100644 index 0000000..edf8aad --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "Windows Machine": { + "commandName": "MsixPackage", + "nativeDebugging": false + } + } +} \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/AppIcon/appicon.svg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/AppIcon/appicon.svg new file mode 100644 index 0000000..9d63b65 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/AppIcon/appiconfg.svg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/AppIcon/appiconfg.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Fonts/OpenSans-Regular.ttf b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..2d1edf0 Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Fonts/OpenSans-Semibold.ttf b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..fe13d06 Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/austria.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/austria.jpg new file mode 100644 index 0000000..6919654 Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/austria.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/canada.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/canada.jpg new file mode 100644 index 0000000..b8b1154 Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/canada.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/colombia.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/colombia.jpg new file mode 100644 index 0000000..b35404f Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/colombia.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/dotnet_bot.png b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/dotnet_bot.png new file mode 100644 index 0000000..f93ce02 Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/dotnet_bot.png differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/dubai.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/dubai.jpg new file mode 100644 index 0000000..650b90f Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/dubai.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/france.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/france.jpg new file mode 100644 index 0000000..84b992a Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/france.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/germany.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/germany.jpg new file mode 100644 index 0000000..bf84827 Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/germany.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/india.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/india.jpg new file mode 100644 index 0000000..326fbda Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/india.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/italy.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/italy.jpg new file mode 100644 index 0000000..b346d8f Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/italy.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/kremlin.jpg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/kremlin.jpg new file mode 100644 index 0000000..6ad3003 Binary files /dev/null and b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Images/kremlin.jpg differ diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Raw/AboutAssets.txt b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..15d6244 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Raw/AboutAssets.txt @@ -0,0 +1,15 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories). Deployment of the asset to your application +is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. + + + +These files will be deployed with you package and will be accessible using Essentials: + + async Task LoadMauiAsset() + { + using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); + using var reader = new StreamReader(stream); + + var contents = reader.ReadToEnd(); + } diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Splash/splash.svg b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Styles/Colors.xaml b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Styles/Colors.xaml new file mode 100644 index 0000000..30307a5 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Styles/Colors.xaml @@ -0,0 +1,45 @@ + + + + + + + #512BD4 + #ac99ea + #242424 + #DFD8F7 + #9880e5 + #2B0B98 + + White + Black + #D600AA + #190649 + #1f1f1f + + #E1E1E1 + #C8C8C8 + #ACACAC + #919191 + #6E6E6E + #404040 + #212121 + #141414 + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/Resources/Styles/Styles.xaml b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Styles/Styles.xaml new file mode 100644 index 0000000..e0d36bb --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/Resources/Styles/Styles.xaml @@ -0,0 +1,426 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Carousel/VirtualizationSample/VirtualizationSample/ViewModel/GalleryViewModel.cs b/Carousel/VirtualizationSample/VirtualizationSample/ViewModel/GalleryViewModel.cs new file mode 100644 index 0000000..07f9928 --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/ViewModel/GalleryViewModel.cs @@ -0,0 +1,26 @@ +namespace VirtualizationSample; + +public class GalleryViewModel +{ + public GalleryViewModel() + { + for(int i = 0; i < 50; i++) + { + ImageCollection.Add(new GalleryModel("austria.jpg")); + ImageCollection.Add(new GalleryModel("india.jpg")); + ImageCollection.Add(new GalleryModel("dubai.jpg")); + ImageCollection.Add(new GalleryModel("canada.jpg")); + ImageCollection.Add(new GalleryModel("kremlin.jpg")); + ImageCollection.Add(new GalleryModel("colombia.jpg")); + ImageCollection.Add(new GalleryModel("france.jpg")); + ImageCollection.Add(new GalleryModel("germany.jpg")); + ImageCollection.Add(new GalleryModel("italy.jpg")); + } + } + private List imageCollection = new List(); + public List ImageCollection + { + get { return imageCollection; } + set { imageCollection = value; } + } +} \ No newline at end of file diff --git a/Carousel/VirtualizationSample/VirtualizationSample/VirtualizationSample.csproj b/Carousel/VirtualizationSample/VirtualizationSample/VirtualizationSample.csproj new file mode 100644 index 0000000..8438afc --- /dev/null +++ b/Carousel/VirtualizationSample/VirtualizationSample/VirtualizationSample.csproj @@ -0,0 +1,66 @@ + + + + net8.0-android;net8.0-ios;net8.0-maccatalyst + $(TargetFrameworks);net8.0-windows10.0.19041.0 + + + + + + + Exe + VirtualizationSample + true + true + enable + enable + + + VirtualizationSample + + + com.companyname.virtualizationsample + + + 1.0 + 1 + + 11.0 + 13.1 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + +