diff --git a/EffectsView/GettingStarted/GettingStarted.sln b/EffectsView/GettingStarted/GettingStarted.sln new file mode 100644 index 0000000..2c786c6 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35312.102 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GettingStarted", "GettingStarted\GettingStarted.csproj", "{715A1D5D-DD0E-46E6-83BB-98768E8DC867}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {715A1D5D-DD0E-46E6-83BB-98768E8DC867}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {715A1D5D-DD0E-46E6-83BB-98768E8DC867}.Debug|Any CPU.Build.0 = Debug|Any CPU + {715A1D5D-DD0E-46E6-83BB-98768E8DC867}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {715A1D5D-DD0E-46E6-83BB-98768E8DC867}.Release|Any CPU.ActiveCfg = Release|Any CPU + {715A1D5D-DD0E-46E6-83BB-98768E8DC867}.Release|Any CPU.Build.0 = Release|Any CPU + {715A1D5D-DD0E-46E6-83BB-98768E8DC867}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C2D0CC12-89A7-4299-A5B6-F3FCD2966136} + EndGlobalSection +EndGlobal diff --git a/EffectsView/GettingStarted/GettingStarted/App.xaml b/EffectsView/GettingStarted/GettingStarted/App.xaml new file mode 100644 index 0000000..1343b9c --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/EffectsView/GettingStarted/GettingStarted/App.xaml.cs b/EffectsView/GettingStarted/GettingStarted/App.xaml.cs new file mode 100644 index 0000000..9758931 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/AppShell.xaml b/EffectsView/GettingStarted/GettingStarted/AppShell.xaml new file mode 100644 index 0000000..8947f53 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/EffectsView/GettingStarted/GettingStarted/AppShell.xaml.cs b/EffectsView/GettingStarted/GettingStarted/AppShell.xaml.cs new file mode 100644 index 0000000..b9c11f5 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace GettingStarted +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/EffectsView/GettingStarted/GettingStarted/GettingStarted.csproj b/EffectsView/GettingStarted/GettingStarted/GettingStarted.csproj new file mode 100644 index 0000000..c63577e --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/MainPage.xaml b/EffectsView/GettingStarted/GettingStarted/MainPage.xaml new file mode 100644 index 0000000..a45ab7a --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/MainPage.xaml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/EffectsView/GettingStarted/GettingStarted/MainPage.xaml.cs b/EffectsView/GettingStarted/GettingStarted/MainPage.xaml.cs new file mode 100644 index 0000000..872de40 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/MainPage.xaml.cs @@ -0,0 +1,11 @@ +namespace GettingStarted +{ + public partial class MainPage : ContentPage + { + public MainPage() + { + InitializeComponent(); + } + } + +} diff --git a/EffectsView/GettingStarted/GettingStarted/MauiProgram.cs b/EffectsView/GettingStarted/GettingStarted/MauiProgram.cs new file mode 100644 index 0000000..356a4f2 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml b/EffectsView/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml new file mode 100644 index 0000000..e9937ad --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/EffectsView/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs b/EffectsView/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs new file mode 100644 index 0000000..aa854a4 --- /dev/null +++ b/EffectsView/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, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] + public class MainActivity : MauiAppCompatActivity + { + } +} diff --git a/EffectsView/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs b/EffectsView/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs new file mode 100644 index 0000000..8f5a22b --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml b/EffectsView/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml new file mode 100644 index 0000000..c04d749 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml @@ -0,0 +1,6 @@ + + + #512BD4 + #2B0B98 + #2B0B98 + \ No newline at end of file diff --git a/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs b/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..b2e5b73 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist b/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist new file mode 100644 index 0000000..de4adc9 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist @@ -0,0 +1,14 @@ + + + + + + + com.apple.security.app-sandbox + + + com.apple.security.network.client + + + + diff --git a/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist b/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist new file mode 100644 index 0000000..7268977 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs b/EffectsView/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs new file mode 100644 index 0000000..664fc13 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs b/EffectsView/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..0b9da5b --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml b/EffectsView/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..f27f233 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/App.xaml b/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/App.xaml new file mode 100644 index 0000000..6cc1e90 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs b/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs new file mode 100644 index 0000000..5b1a284 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest b/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest new file mode 100644 index 0000000..c3f5ec7 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest @@ -0,0 +1,46 @@ + + + + + + + + + $placeholder$ + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/app.manifest b/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/app.manifest new file mode 100644 index 0000000..1ab4ba7 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Platforms/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + diff --git a/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs b/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs new file mode 100644 index 0000000..b2e5b73 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/Info.plist b/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/Info.plist new file mode 100644 index 0000000..0004a4f --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/Program.cs b/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/Program.cs new file mode 100644 index 0000000..664fc13 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy b/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..24ab3b4 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,51 @@ + + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + E174.1 + + + + + + diff --git a/EffectsView/GettingStarted/GettingStarted/Properties/launchSettings.json b/EffectsView/GettingStarted/GettingStarted/Properties/launchSettings.json new file mode 100644 index 0000000..edf8aad --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg b/EffectsView/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg new file mode 100644 index 0000000..9d63b65 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/EffectsView/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg b/EffectsView/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/EffectsView/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf b/EffectsView/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..ba487fe Binary files /dev/null and b/EffectsView/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/EffectsView/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf b/EffectsView/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..8fe2c59 Binary files /dev/null and b/EffectsView/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/EffectsView/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png b/EffectsView/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png new file mode 100644 index 0000000..f93ce02 Binary files /dev/null and b/EffectsView/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png differ diff --git a/EffectsView/GettingStarted/GettingStarted/Resources/Images/person.png b/EffectsView/GettingStarted/GettingStarted/Resources/Images/person.png new file mode 100644 index 0000000..109d1e6 Binary files /dev/null and b/EffectsView/GettingStarted/GettingStarted/Resources/Images/person.png differ diff --git a/EffectsView/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt b/EffectsView/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..89dc758 --- /dev/null +++ b/EffectsView/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 your 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/EffectsView/GettingStarted/GettingStarted/Resources/Splash/splash.svg b/EffectsView/GettingStarted/GettingStarted/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/EffectsView/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml b/EffectsView/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml new file mode 100644 index 0000000..30307a5 --- /dev/null +++ b/EffectsView/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/EffectsView/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml b/EffectsView/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml new file mode 100644 index 0000000..6641e3a --- /dev/null +++ b/EffectsView/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted.sln b/NavigationDrawer/GettingStarted/GettingStarted.sln new file mode 100644 index 0000000..d4f3caa --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35312.102 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GettingStarted", "GettingStarted\GettingStarted.csproj", "{DD5ACF5C-A27F-42B3-A88A-1D82C38FEA5F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DD5ACF5C-A27F-42B3-A88A-1D82C38FEA5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DD5ACF5C-A27F-42B3-A88A-1D82C38FEA5F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DD5ACF5C-A27F-42B3-A88A-1D82C38FEA5F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {DD5ACF5C-A27F-42B3-A88A-1D82C38FEA5F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DD5ACF5C-A27F-42B3-A88A-1D82C38FEA5F}.Release|Any CPU.Build.0 = Release|Any CPU + {DD5ACF5C-A27F-42B3-A88A-1D82C38FEA5F}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8BA5EB08-23FA-41B6-A369-CC0972CF4B89} + EndGlobalSection +EndGlobal diff --git a/NavigationDrawer/GettingStarted/GettingStarted/App.xaml b/NavigationDrawer/GettingStarted/GettingStarted/App.xaml new file mode 100644 index 0000000..1343b9c --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted/App.xaml.cs b/NavigationDrawer/GettingStarted/GettingStarted/App.xaml.cs new file mode 100644 index 0000000..9758931 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/AppShell.xaml b/NavigationDrawer/GettingStarted/GettingStarted/AppShell.xaml new file mode 100644 index 0000000..8947f53 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted/AppShell.xaml.cs b/NavigationDrawer/GettingStarted/GettingStarted/AppShell.xaml.cs new file mode 100644 index 0000000..b9c11f5 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace GettingStarted +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/NavigationDrawer/GettingStarted/GettingStarted/GettingStarted.csproj b/NavigationDrawer/GettingStarted/GettingStarted/GettingStarted.csproj new file mode 100644 index 0000000..c63577e --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/MainPage.xaml b/NavigationDrawer/GettingStarted/GettingStarted/MainPage.xaml new file mode 100644 index 0000000..b22cc96 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/MainPage.xaml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted/MainPage.xaml.cs b/NavigationDrawer/GettingStarted/GettingStarted/MainPage.xaml.cs new file mode 100644 index 0000000..053022c --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/MainPage.xaml.cs @@ -0,0 +1,43 @@ +using Microsoft.Maui.Platform; +using Syncfusion.Maui.Toolkit.NavigationDrawer; + +namespace GettingStarted +{ + public partial class MainPage : ContentPage + { + public MainPage() + { + InitializeComponent(); + List list = new List(); + list.Add("Home"); + list.Add("Profile"); + list.Add("Inbox"); + list.Add("Out box"); + list.Add("Sent"); + list.Add("Draft"); + listView.ItemsSource = list; + } + private void hamburgerButton_Clicked(object sender, EventArgs e) + { + navigationDrawer.ToggleDrawer(); + } + + private void listView_ItemSelected(object sender, SelectedItemChangedEventArgs e) + { + if (e.SelectedItem.ToString() == "Home") + contentLabel.Text = "Home"; + else if (e.SelectedItem.ToString() == "Profile") + contentLabel.Text = "Profile"; + else if (e.SelectedItem.ToString() == "Inbox") + contentLabel.Text = "Inbox"; + else if (e.SelectedItem.ToString() == "Out box") + contentLabel.Text = "Out box"; + else if (e.SelectedItem.ToString() == "Sent") + contentLabel.Text = "Sent"; + else if (e.SelectedItem.ToString() == "Draft") + contentLabel.Text = "The folder is empty"; + navigationDrawer.ToggleDrawer(); + } + } + +} diff --git a/NavigationDrawer/GettingStarted/GettingStarted/MauiProgram.cs b/NavigationDrawer/GettingStarted/GettingStarted/MauiProgram.cs new file mode 100644 index 0000000..356a4f2 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml new file mode 100644 index 0000000..e9937ad --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs new file mode 100644 index 0000000..aa854a4 --- /dev/null +++ b/NavigationDrawer/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, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] + public class MainActivity : MauiAppCompatActivity + { + } +} diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs new file mode 100644 index 0000000..8f5a22b --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml new file mode 100644 index 0000000..c04d749 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml @@ -0,0 +1,6 @@ + + + #512BD4 + #2B0B98 + #2B0B98 + \ No newline at end of file diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..b2e5b73 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist new file mode 100644 index 0000000..de4adc9 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist @@ -0,0 +1,14 @@ + + + + + + + com.apple.security.app-sandbox + + + com.apple.security.network.client + + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist new file mode 100644 index 0000000..7268977 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs new file mode 100644 index 0000000..664fc13 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..0b9da5b --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..f27f233 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/App.xaml b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/App.xaml new file mode 100644 index 0000000..6cc1e90 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs new file mode 100644 index 0000000..5b1a284 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest new file mode 100644 index 0000000..9250a17 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest @@ -0,0 +1,46 @@ + + + + + + + + + $placeholder$ + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/app.manifest b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/app.manifest new file mode 100644 index 0000000..1ab4ba7 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs new file mode 100644 index 0000000..b2e5b73 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/Info.plist b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/Info.plist new file mode 100644 index 0000000..0004a4f --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/Program.cs b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/Program.cs new file mode 100644 index 0000000..664fc13 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..24ab3b4 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,51 @@ + + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + E174.1 + + + + + + diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Properties/launchSettings.json b/NavigationDrawer/GettingStarted/GettingStarted/Properties/launchSettings.json new file mode 100644 index 0000000..edf8aad --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg b/NavigationDrawer/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg new file mode 100644 index 0000000..9d63b65 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg b/NavigationDrawer/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..ba487fe Binary files /dev/null and b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..8fe2c59 Binary files /dev/null and b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png new file mode 100644 index 0000000..f93ce02 Binary files /dev/null and b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png differ diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/hamburgericon.png b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/hamburgericon.png new file mode 100644 index 0000000..6363a20 Binary files /dev/null and b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/hamburgericon.png differ diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/user.png b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/user.png new file mode 100644 index 0000000..1da21c1 Binary files /dev/null and b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Images/user.png differ diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..89dc758 --- /dev/null +++ b/NavigationDrawer/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 your 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/NavigationDrawer/GettingStarted/GettingStarted/Resources/Splash/splash.svg b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/NavigationDrawer/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml new file mode 100644 index 0000000..30307a5 --- /dev/null +++ b/NavigationDrawer/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/NavigationDrawer/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml new file mode 100644 index 0000000..6641e3a --- /dev/null +++ b/NavigationDrawer/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted.sln b/SegmentedControl/GettingStarted/GettingStarted.sln new file mode 100644 index 0000000..3ca8baf --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35312.102 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GettingStarted", "GettingStarted\GettingStarted.csproj", "{30006871-BD52-41AF-A134-595AC51466B2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {30006871-BD52-41AF-A134-595AC51466B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {30006871-BD52-41AF-A134-595AC51466B2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {30006871-BD52-41AF-A134-595AC51466B2}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {30006871-BD52-41AF-A134-595AC51466B2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {30006871-BD52-41AF-A134-595AC51466B2}.Release|Any CPU.Build.0 = Release|Any CPU + {30006871-BD52-41AF-A134-595AC51466B2}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A24A047C-F540-45F0-9883-6454C99B7F90} + EndGlobalSection +EndGlobal diff --git a/SegmentedControl/GettingStarted/GettingStarted/App.xaml b/SegmentedControl/GettingStarted/GettingStarted/App.xaml new file mode 100644 index 0000000..1343b9c --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted/App.xaml.cs b/SegmentedControl/GettingStarted/GettingStarted/App.xaml.cs new file mode 100644 index 0000000..9758931 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/AppShell.xaml b/SegmentedControl/GettingStarted/GettingStarted/AppShell.xaml new file mode 100644 index 0000000..8947f53 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted/AppShell.xaml.cs b/SegmentedControl/GettingStarted/GettingStarted/AppShell.xaml.cs new file mode 100644 index 0000000..b9c11f5 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace GettingStarted +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/SegmentedControl/GettingStarted/GettingStarted/GettingStarted.csproj b/SegmentedControl/GettingStarted/GettingStarted/GettingStarted.csproj new file mode 100644 index 0000000..c63577e --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/MainPage.xaml b/SegmentedControl/GettingStarted/GettingStarted/MainPage.xaml new file mode 100644 index 0000000..efb36c8 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/MainPage.xaml @@ -0,0 +1,18 @@ + + + + + + + Day + Week + Month + Year + + + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted/MainPage.xaml.cs b/SegmentedControl/GettingStarted/GettingStarted/MainPage.xaml.cs new file mode 100644 index 0000000..872de40 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/MainPage.xaml.cs @@ -0,0 +1,11 @@ +namespace GettingStarted +{ + public partial class MainPage : ContentPage + { + public MainPage() + { + InitializeComponent(); + } + } + +} diff --git a/SegmentedControl/GettingStarted/GettingStarted/MauiProgram.cs b/SegmentedControl/GettingStarted/GettingStarted/MauiProgram.cs new file mode 100644 index 0000000..356a4f2 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml new file mode 100644 index 0000000..e9937ad --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/MainActivity.cs new file mode 100644 index 0000000..aa854a4 --- /dev/null +++ b/SegmentedControl/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, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] + public class MainActivity : MauiAppCompatActivity + { + } +} diff --git a/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/MainApplication.cs new file mode 100644 index 0000000..8f5a22b --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml new file mode 100644 index 0000000..c04d749 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Android/Resources/values/colors.xml @@ -0,0 +1,6 @@ + + + #512BD4 + #2B0B98 + #2B0B98 + \ No newline at end of file diff --git a/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs b/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..b2e5b73 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist b/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist new file mode 100644 index 0000000..de4adc9 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/Entitlements.plist @@ -0,0 +1,14 @@ + + + + + + + com.apple.security.app-sandbox + + + com.apple.security.network.client + + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist b/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/Info.plist new file mode 100644 index 0000000..7268977 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs b/SegmentedControl/GettingStarted/GettingStarted/Platforms/MacCatalyst/Program.cs new file mode 100644 index 0000000..664fc13 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..0b9da5b --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..f27f233 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/App.xaml b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/App.xaml new file mode 100644 index 0000000..6cc1e90 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/App.xaml.cs new file mode 100644 index 0000000..5b1a284 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest new file mode 100644 index 0000000..dbe3a7d --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/Package.appxmanifest @@ -0,0 +1,46 @@ + + + + + + + + + $placeholder$ + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/app.manifest b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/app.manifest new file mode 100644 index 0000000..1ab4ba7 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Platforms/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs b/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/AppDelegate.cs new file mode 100644 index 0000000..b2e5b73 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/Info.plist b/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/Info.plist new file mode 100644 index 0000000..0004a4f --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/Program.cs b/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/Program.cs new file mode 100644 index 0000000..664fc13 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy b/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..24ab3b4 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Platforms/iOS/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,51 @@ + + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + E174.1 + + + + + + diff --git a/SegmentedControl/GettingStarted/GettingStarted/Properties/launchSettings.json b/SegmentedControl/GettingStarted/GettingStarted/Properties/launchSettings.json new file mode 100644 index 0000000..edf8aad --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg b/SegmentedControl/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg new file mode 100644 index 0000000..9d63b65 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/SegmentedControl/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg b/SegmentedControl/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/SegmentedControl/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf b/SegmentedControl/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..ba487fe Binary files /dev/null and b/SegmentedControl/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/SegmentedControl/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf b/SegmentedControl/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..8fe2c59 Binary files /dev/null and b/SegmentedControl/GettingStarted/GettingStarted/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/SegmentedControl/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png b/SegmentedControl/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png new file mode 100644 index 0000000..f93ce02 Binary files /dev/null and b/SegmentedControl/GettingStarted/GettingStarted/Resources/Images/dotnet_bot.png differ diff --git a/SegmentedControl/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt b/SegmentedControl/GettingStarted/GettingStarted/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..89dc758 --- /dev/null +++ b/SegmentedControl/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 your 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/SegmentedControl/GettingStarted/GettingStarted/Resources/Splash/splash.svg b/SegmentedControl/GettingStarted/GettingStarted/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/SegmentedControl/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml b/SegmentedControl/GettingStarted/GettingStarted/Resources/Styles/Colors.xaml new file mode 100644 index 0000000..30307a5 --- /dev/null +++ b/SegmentedControl/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/SegmentedControl/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml b/SegmentedControl/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml new file mode 100644 index 0000000..6641e3a --- /dev/null +++ b/SegmentedControl/GettingStarted/GettingStarted/Resources/Styles/Styles.xaml @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +