Skip to content

Commit fb415d0

Browse files
Merge pull request #1 from SyncfusionExamples/To-add-sample
903597-Creating a Neumorphic UI chart using Syncfusion .NET MAUI Column Chart.
2 parents 6885ec3 + 9596650 commit fb415d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1644
-2
lines changed

GenZFavouriteSocialMedia/App.xaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version = "1.0" encoding = "UTF-8" ?>
2+
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace:GenZFavouriteSocialMedia"
5+
x:Class="GenZFavouriteSocialMedia.App">
6+
<Application.Resources>
7+
<ResourceDictionary>
8+
<ResourceDictionary.MergedDictionaries>
9+
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />
10+
<ResourceDictionary Source="Resources/Styles/Styles.xaml" />
11+
</ResourceDictionary.MergedDictionaries>
12+
</ResourceDictionary>
13+
14+
</Application.Resources>
15+
</Application>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+

2+
namespace GenZFavouriteSocialMedia
3+
{
4+
public partial class App : Application
5+
{
6+
public App()
7+
{
8+
InitializeComponent();
9+
}
10+
11+
protected override Window CreateWindow(IActivationState? activationState)
12+
{
13+
return new Window(new MainPage());
14+
}
15+
}
16+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<Shell
3+
x:Class="GenZFavouriteSocialMedia.AppShell"
4+
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
5+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6+
xmlns:local="clr-namespace:GenZFavouriteSocialMedia"
7+
Shell.FlyoutBehavior="Disabled"
8+
Title="GenZFavouriteSocialMedia">
9+
10+
<ShellContent
11+
Title="Home"
12+
ContentTemplate="{DataTemplate local:MainPage}"
13+
Route="MainPage" />
14+
15+
</Shell>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace GenZFavouriteSocialMedia
2+
{
3+
public partial class AppShell : Shell
4+
{
5+
public AppShell()
6+
{
7+
InitializeComponent();
8+
}
9+
}
10+
}
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
6+
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
8+
9+
<!-- Note for MacCatalyst:
10+
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
11+
When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
12+
The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
13+
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
14+
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
15+
16+
<OutputType>Exe</OutputType>
17+
<RootNamespace>GenZFavouriteSocialMedia</RootNamespace>
18+
<UseMaui>true</UseMaui>
19+
<SingleProject>true</SingleProject>
20+
<ImplicitUsings>enable</ImplicitUsings>
21+
<Nullable>enable</Nullable>
22+
23+
<!-- Display name -->
24+
<ApplicationTitle>GenZFavouriteSocialMedia</ApplicationTitle>
25+
26+
<!-- App Identifier -->
27+
<ApplicationId>com.companyname.genzfavouritesocialmedia</ApplicationId>
28+
29+
<!-- Versions -->
30+
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
31+
<ApplicationVersion>1</ApplicationVersion>
32+
33+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
34+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
35+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
36+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
37+
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
38+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
39+
</PropertyGroup>
40+
41+
<ItemGroup>
42+
<!-- App Icon -->
43+
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
44+
45+
<!-- Splash Screen -->
46+
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
47+
48+
<!-- Images -->
49+
<MauiImage Include="Resources\Images\*" />
50+
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />
51+
52+
<!-- Custom Fonts -->
53+
<MauiFont Include="Resources\Fonts\*" />
54+
55+
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
56+
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
57+
</ItemGroup>
58+
59+
<ItemGroup>
60+
<MauiImage Remove="Resources\Images\bereal.png" />
61+
<MauiImage Remove="Resources\Images\facebook.png" />
62+
<MauiImage Remove="Resources\Images\instagram.png" />
63+
<MauiImage Remove="Resources\Images\linkedin.png" />
64+
<MauiImage Remove="Resources\Images\pinterest.png" />
65+
<MauiImage Remove="Resources\Images\reddit.png" />
66+
<MauiImage Remove="Resources\Images\snapchat.png" />
67+
<MauiImage Remove="Resources\Images\tiktok.png" />
68+
<MauiImage Remove="Resources\Images\whatsapp.png" />
69+
<MauiImage Remove="Resources\Images\x.png" />
70+
<MauiImage Remove="Resources\Images\youtube.png" />
71+
</ItemGroup>
72+
73+
<ItemGroup>
74+
<None Remove="Resources\Fonts\Inter-Medium.ttf" />
75+
<None Remove="Resources\Fonts\Inter-Regular.ttf" />
76+
<None Remove="Resources\Fonts\Roboto-Medium.ttf" />
77+
<None Remove="Resources\Fonts\Roboto-Regular.ttf" />
78+
<None Remove="Resources\Fonts\Segoe-UI-Regular.ttf" />
79+
<None Remove="Resources\Images\bereal.png" />
80+
<None Remove="Resources\Images\facebook.png" />
81+
<None Remove="Resources\Images\instagram.png" />
82+
<None Remove="Resources\Images\linkedin.png" />
83+
<None Remove="Resources\Images\pinterest.png" />
84+
<None Remove="Resources\Images\reddit.png" />
85+
<None Remove="Resources\Images\snapchat.png" />
86+
<None Remove="Resources\Images\tiktok.png" />
87+
<None Remove="Resources\Images\whatsapp.png" />
88+
<None Remove="Resources\Images\x.png" />
89+
<None Remove="Resources\Images\youtube.png" />
90+
</ItemGroup>
91+
92+
<ItemGroup>
93+
<EmbeddedResource Include="Resources\Images\bereal.png" />
94+
<EmbeddedResource Include="Resources\Images\facebook.png" />
95+
<EmbeddedResource Include="Resources\Images\instagram.png" />
96+
<EmbeddedResource Include="Resources\Images\linkedin.png" />
97+
<EmbeddedResource Include="Resources\Images\pinterest.png" />
98+
<EmbeddedResource Include="Resources\Images\reddit.png" />
99+
<EmbeddedResource Include="Resources\Images\snapchat.png" />
100+
<EmbeddedResource Include="Resources\Images\tiktok.png" />
101+
<EmbeddedResource Include="Resources\Images\x.png" />
102+
<EmbeddedResource Include="Resources\Images\whatsapp.png" />
103+
<EmbeddedResource Include="Resources\Images\youtube.png" />
104+
</ItemGroup>
105+
106+
<ItemGroup>
107+
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
108+
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
109+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
110+
<PackageReference Include="Syncfusion.Maui.Buttons" Version="*" />
111+
<PackageReference Include="Syncfusion.Maui.Toolkit" Version="*" />
112+
</ItemGroup>
113+
114+
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen>
5+
<ActiveDebugFramework>net9.0-windows10.0.19041.0</ActiveDebugFramework>
6+
<ActiveDebugProfile>Windows Machine</ActiveDebugProfile>
7+
<SelectedPlatformGroup>Emulator</SelectedPlatformGroup>
8+
<DefaultDevice>pixel_5_-_api_34</DefaultDevice>
9+
</PropertyGroup>
10+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android|AnyCPU'">
11+
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
12+
</PropertyGroup>
13+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0-android|AnyCPU'">
14+
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
15+
</PropertyGroup>
16+
</Project>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.11.35208.52
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GenZFavouriteSocialMedia", "GenZFavouriteSocialMedia.csproj", "{E803B9F4-1C88-4532-A374-FC2E0BF42F43}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
Release-Xml|Any CPU = Release-Xml|Any CPU
13+
EndGlobalSection
14+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
18+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Release|Any CPU.Deploy.0 = Release|Any CPU
21+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Release-Xml|Any CPU.ActiveCfg = Release|Any CPU
22+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Release-Xml|Any CPU.Build.0 = Release|Any CPU
23+
{E803B9F4-1C88-4532-A374-FC2E0BF42F43}.Release-Xml|Any CPU.Deploy.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {93D94DB9-F80D-4CBE-AE53-FE4390891D8A}
30+
EndGlobalSection
31+
EndGlobal

0 commit comments

Comments
 (0)