-
Notifications
You must be signed in to change notification settings - Fork 0
Updated Project sample with .Net 9 version. #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Harsha-SF4223
wants to merge
2
commits into
master
Choose a base branch
from
Complex_Binding
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
| ||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31611.283 | ||
VisualStudioVersion = 17.13.35931.197 d17.13 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Complex_Binding", "Complex_Binding\Complex_Binding.csproj", "{C4C1FFCA-E857-4E04-AAD3-7663A766D4CD}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Complex_Binding", "Complex_Binding\Complex_Binding.csproj", "{34DBBB23-B8D5-4048-9DF8-524557EB2B73}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{C4C1FFCA-E857-4E04-AAD3-7663A766D4CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{C4C1FFCA-E857-4E04-AAD3-7663A766D4CD}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{C4C1FFCA-E857-4E04-AAD3-7663A766D4CD}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{C4C1FFCA-E857-4E04-AAD3-7663A766D4CD}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{C4C1FFCA-E857-4E04-AAD3-7663A766D4CD}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{C4C1FFCA-E857-4E04-AAD3-7663A766D4CD}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
{34DBBB23-B8D5-4048-9DF8-524557EB2B73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{34DBBB23-B8D5-4048-9DF8-524557EB2B73}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{34DBBB23-B8D5-4048-9DF8-524557EB2B73}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{34DBBB23-B8D5-4048-9DF8-524557EB2B73}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572} | ||
SolutionGuid = {14FDE28B-FF3C-4A6C-A8F9-5FEABFC8BA0F} | ||
EndGlobalSection | ||
EndGlobal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
namespace Complex_Binding; | ||
|
||
public partial class App : Application | ||
namespace Complex_Binding | ||
{ | ||
public App() | ||
{ | ||
InitializeComponent(); | ||
public partial class App : Application | ||
{ | ||
public App() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
MainPage = new AppShell(); | ||
} | ||
} | ||
protected override Window CreateWindow(IActivationState? activationState) | ||
{ | ||
return new Window(new MainPage()); | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
namespace Complex_Binding; | ||
|
||
public partial class AppShell : Shell | ||
namespace Complex_Binding | ||
{ | ||
public AppShell() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public partial class AppShell : Shell | ||
{ | ||
public AppShell() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 24 additions & 1 deletion
25
Complex_Binding/Complex_Binding/Complex_Binding.csproj.user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<ActiveDebugFramework>net6.0-windows10.0.19041.0</ActiveDebugFramework> | ||
<IsFirstTimeProjectOpen>False</IsFirstTimeProjectOpen> | ||
<ActiveDebugFramework>net9.0-windows10.0.19041.0</ActiveDebugFramework> | ||
<ActiveDebugProfile>Windows Machine</ActiveDebugProfile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Update="App.xaml"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Update="AppShell.xaml"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Update="MainPage.xaml"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Update="Platforms\Windows\App.xaml"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Update="Platforms\Windows\Package.appxmanifest"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Update="Resources\Styles\Colors.xaml"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Update="Resources\Styles\Styles.xaml"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
</ItemGroup> | ||
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
<ContentPage.BindingContext> | ||
<local:ViewModel/> | ||
</ContentPage.BindingContext> | ||
<chart:SfCartesianChart> | ||
<chart:SfCartesianChart Margin="0,10,0,0"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Harsha-SF4223 why added margin, share reason There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. legend overlapping with layout settings, for better UI visibility given margin. |
||
<chart:SfCartesianChart.XAxes> | ||
<chart:CategoryAxis> | ||
<chart:CategoryAxis.Title> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,27 @@ | ||
using Syncfusion.Maui.Core.Hosting; | ||
using Microsoft.Extensions.Logging; | ||
using Syncfusion.Maui.Core.Hosting; | ||
|
||
namespace Complex_Binding; | ||
|
||
public static class MauiProgram | ||
namespace Complex_Binding | ||
{ | ||
public static MauiApp CreateMauiApp() | ||
{ | ||
var builder = MauiApp.CreateBuilder(); | ||
builder | ||
.UseMauiApp<App>() | ||
.ConfigureSyncfusionCore() | ||
.ConfigureFonts(fonts => | ||
{ | ||
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); | ||
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); | ||
}); | ||
public static class MauiProgram | ||
{ | ||
public static MauiApp CreateMauiApp() | ||
{ | ||
var builder = MauiApp.CreateBuilder(); | ||
builder | ||
.UseMauiApp<App>() | ||
.ConfigureSyncfusionCore() | ||
.ConfigureFonts(fonts => | ||
{ | ||
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); | ||
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); | ||
}); | ||
|
||
#if DEBUG | ||
builder.Logging.AddDebug(); | ||
#endif | ||
|
||
return builder.Build(); | ||
} | ||
return builder.Build(); | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 10 additions & 9 deletions
19
Complex_Binding/Complex_Binding/Platforms/Android/MainApplication.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
using Android.App; | ||
using Android.Runtime; | ||
|
||
namespace Complex_Binding; | ||
|
||
[Application] | ||
public class MainApplication : MauiApplication | ||
namespace Complex_Binding | ||
{ | ||
public MainApplication(IntPtr handle, JniHandleOwnership ownership) | ||
: base(handle, ownership) | ||
{ | ||
} | ||
[Application] | ||
public class MainApplication : MauiApplication | ||
{ | ||
public MainApplication(IntPtr handle, JniHandleOwnership ownership) | ||
: base(handle, ownership) | ||
{ | ||
} | ||
|
||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
} | ||
} |
11 changes: 6 additions & 5 deletions
11
Complex_Binding/Complex_Binding/Platforms/MacCatalyst/AppDelegate.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
using Foundation; | ||
|
||
namespace Complex_Binding; | ||
|
||
[Register("AppDelegate")] | ||
public class AppDelegate : MauiUIApplicationDelegate | ||
namespace Complex_Binding | ||
{ | ||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
[Register("AppDelegate")] | ||
public class AppDelegate : MauiUIApplicationDelegate | ||
{ | ||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
Complex_Binding/Complex_Binding/Platforms/MacCatalyst/Entitlements.plist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<!-- See https://aka.ms/maui-publish-app-store#add-entitlements for more information about adding entitlements.--> | ||
<dict> | ||
<!-- App Sandbox must be enabled to distribute a MacCatalyst app through the Mac App Store. --> | ||
<key>com.apple.security.app-sandbox</key> | ||
<true/> | ||
<!-- When App Sandbox is enabled, this value is required to open outgoing network connections. --> | ||
<key>com.apple.security.network.client</key> | ||
<true/> | ||
</dict> | ||
</plist> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 11 additions & 10 deletions
21
Complex_Binding/Complex_Binding/Platforms/MacCatalyst/Program.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
using ObjCRuntime; | ||
using UIKit; | ||
|
||
namespace Complex_Binding; | ||
|
||
public class Program | ||
namespace Complex_Binding | ||
{ | ||
// 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)); | ||
} | ||
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)); | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Complex_Binding/Complex_Binding/Platforms/Tizen/tizen-manifest.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Harsha-SF4223 remove user pro file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed file