diff --git a/DrillDown_Sample/Drill_Down_Sample.sln b/DrillDown_Sample/Drill_Down_Sample.sln
new file mode 100644
index 0000000..8117e41
--- /dev/null
+++ b/DrillDown_Sample/Drill_Down_Sample.sln
@@ -0,0 +1,43 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.13.35931.197 d17.13
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Drill_Down_Sample", "Drill_Down_Sample\Drill_Down_Sample.csproj", "{C4EA0C60-64C9-4014-A19E-96D82BC2271E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|ARM64 = Debug|ARM64
+ Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
+ Release|ARM64 = Release|ARM64
+ Release|x64 = Release|x64
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|ARM64.ActiveCfg = Debug|ARM64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|ARM64.Build.0 = Debug|ARM64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|ARM64.Deploy.0 = Debug|ARM64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|x64.ActiveCfg = Debug|x64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|x64.Build.0 = Debug|x64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|x64.Deploy.0 = Debug|x64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|x86.ActiveCfg = Debug|x86
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|x86.Build.0 = Debug|x86
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Debug|x86.Deploy.0 = Debug|x86
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|ARM64.ActiveCfg = Release|ARM64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|ARM64.Build.0 = Release|ARM64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|ARM64.Deploy.0 = Release|ARM64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|x64.ActiveCfg = Release|x64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|x64.Build.0 = Release|x64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|x64.Deploy.0 = Release|x64
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|x86.ActiveCfg = Release|x86
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|x86.Build.0 = Release|x86
+ {C4EA0C60-64C9-4014-A19E-96D82BC2271E}.Release|x86.Deploy.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {2E010518-1752-4A73-A5FD-E7EEB1A2E218}
+ EndGlobalSection
+EndGlobal
diff --git a/Drill_Down_Sample/App.xaml b/DrillDown_Sample/Drill_Down_Sample/App.xaml
similarity index 100%
rename from Drill_Down_Sample/App.xaml
rename to DrillDown_Sample/Drill_Down_Sample/App.xaml
diff --git a/Drill_Down_Sample/App.xaml.cs b/DrillDown_Sample/Drill_Down_Sample/App.xaml.cs
similarity index 78%
rename from Drill_Down_Sample/App.xaml.cs
rename to DrillDown_Sample/Drill_Down_Sample/App.xaml.cs
index 238fab9..904f238 100644
--- a/Drill_Down_Sample/App.xaml.cs
+++ b/DrillDown_Sample/Drill_Down_Sample/App.xaml.cs
@@ -1,4 +1,9 @@
-using Microsoft.UI.Xaml;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls.Primitives;
using Microsoft.UI.Xaml.Data;
@@ -6,11 +11,6 @@
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Navigation;
using Microsoft.UI.Xaml.Shapes;
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
@@ -35,14 +35,13 @@ public App()
this.InitializeComponent();
}
- ///
- /// Invoked when the application is launched.
- ///
- /// Details about the launch request and process.
- protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
- {
+ ///
+ /// Invoked when the application is launched.
+ ///
+ /// Details about the launch request and process.
+ protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
+ {
m_window = new MainWindow();
- // Create a Frame to act as the navigation context and navigate to the first page
Frame rootFrame = new Frame();
rootFrame.NavigationFailed += OnNavigationFailed;
// Navigate to the first page, configuring the new page
@@ -54,11 +53,7 @@ protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs ar
m_window.Activate();
}
- private Window m_window;
-
- // App.xaml.cs
-
-
+ private Window? m_window;
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
diff --git a/Drill_Down_Sample/Assets/LockScreenLogo.scale-200.png b/DrillDown_Sample/Drill_Down_Sample/Assets/LockScreenLogo.scale-200.png
similarity index 100%
rename from Drill_Down_Sample/Assets/LockScreenLogo.scale-200.png
rename to DrillDown_Sample/Drill_Down_Sample/Assets/LockScreenLogo.scale-200.png
diff --git a/Drill_Down_Sample/Assets/SplashScreen.scale-200.png b/DrillDown_Sample/Drill_Down_Sample/Assets/SplashScreen.scale-200.png
similarity index 100%
rename from Drill_Down_Sample/Assets/SplashScreen.scale-200.png
rename to DrillDown_Sample/Drill_Down_Sample/Assets/SplashScreen.scale-200.png
diff --git a/Drill_Down_Sample/Assets/Square150x150Logo.scale-200.png b/DrillDown_Sample/Drill_Down_Sample/Assets/Square150x150Logo.scale-200.png
similarity index 100%
rename from Drill_Down_Sample/Assets/Square150x150Logo.scale-200.png
rename to DrillDown_Sample/Drill_Down_Sample/Assets/Square150x150Logo.scale-200.png
diff --git a/Drill_Down_Sample/Assets/Square44x44Logo.scale-200.png b/DrillDown_Sample/Drill_Down_Sample/Assets/Square44x44Logo.scale-200.png
similarity index 100%
rename from Drill_Down_Sample/Assets/Square44x44Logo.scale-200.png
rename to DrillDown_Sample/Drill_Down_Sample/Assets/Square44x44Logo.scale-200.png
diff --git a/Drill_Down_Sample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/DrillDown_Sample/Drill_Down_Sample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
similarity index 100%
rename from Drill_Down_Sample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
rename to DrillDown_Sample/Drill_Down_Sample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
diff --git a/Drill_Down_Sample/Assets/StoreLogo.png b/DrillDown_Sample/Drill_Down_Sample/Assets/StoreLogo.png
similarity index 100%
rename from Drill_Down_Sample/Assets/StoreLogo.png
rename to DrillDown_Sample/Drill_Down_Sample/Assets/StoreLogo.png
diff --git a/Drill_Down_Sample/Assets/Wide310x150Logo.scale-200.png b/DrillDown_Sample/Drill_Down_Sample/Assets/Wide310x150Logo.scale-200.png
similarity index 100%
rename from Drill_Down_Sample/Assets/Wide310x150Logo.scale-200.png
rename to DrillDown_Sample/Drill_Down_Sample/Assets/Wide310x150Logo.scale-200.png
diff --git a/Drill_Down_Sample/Drill_Down_Sample.csproj b/DrillDown_Sample/Drill_Down_Sample/Drill_Down_Sample.csproj
similarity index 74%
rename from Drill_Down_Sample/Drill_Down_Sample.csproj
rename to DrillDown_Sample/Drill_Down_Sample/Drill_Down_Sample.csproj
index 17bdde7..4f66241 100644
--- a/Drill_Down_Sample/Drill_Down_Sample.csproj
+++ b/DrillDown_Sample/Drill_Down_Sample/Drill_Down_Sample.csproj
@@ -1,19 +1,19 @@
WinExe
- net6.0-windows10.0.19041.0
+ net8.0-windows10.0.19041.0
10.0.17763.0
Drill_Down_Sample
app.manifest
x86;x64;ARM64
- win10-x86;win10-x64;win10-arm64
- win10-$(Platform).pubxml
+ win-x86;win-x64;win-arm64
+ win-$(Platform).pubxml
true
true
+ enable
-
@@ -28,13 +28,10 @@
-
-
-
-
true
-
+
+
+
+ False
+ True
+ False
+ True
+
+
\ No newline at end of file
diff --git a/Drill_Down_Sample/MainPage.xaml b/DrillDown_Sample/Drill_Down_Sample/MainPage.xaml
similarity index 99%
rename from Drill_Down_Sample/MainPage.xaml
rename to DrillDown_Sample/Drill_Down_Sample/MainPage.xaml
index 5540c78..e680f75 100644
--- a/Drill_Down_Sample/MainPage.xaml
+++ b/DrillDown_Sample/Drill_Down_Sample/MainPage.xaml
@@ -6,7 +6,7 @@
xmlns:local="using:Drill_Down_Sample"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
+ mc:Ignorable="d"
xmlns:chart="using:Syncfusion.UI.Xaml.Charts"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
diff --git a/Drill_Down_Sample/MainPage.xaml.cs b/DrillDown_Sample/Drill_Down_Sample/MainPage.xaml.cs
similarity index 76%
rename from Drill_Down_Sample/MainPage.xaml.cs
rename to DrillDown_Sample/Drill_Down_Sample/MainPage.xaml.cs
index 5c7fb0e..229ca00 100644
--- a/Drill_Down_Sample/MainPage.xaml.cs
+++ b/DrillDown_Sample/Drill_Down_Sample/MainPage.xaml.cs
@@ -1,8 +1,19 @@
+using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
+using Microsoft.UI.Xaml.Controls.Primitives;
+using Microsoft.UI.Xaml.Data;
+using Microsoft.UI.Xaml.Input;
using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Navigation;
using Syncfusion.UI.Xaml.Charts;
+using System;
using System.Collections;
using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
@@ -19,7 +30,6 @@ public MainPage()
this.InitializeComponent();
}
-
private void DataPointSelectionBehavior_SelectionChanged(object sender, Syncfusion.UI.Xaml.Charts.ChartSelectionChangedEventArgs e)
{
var series = sender as PieSeries;
@@ -33,7 +43,7 @@ private void DataPointSelectionBehavior_SelectionChanged(object sender, Syncfusi
list.Add(selectedData);
list.Add(brush);
// Navigate to the next page which is representing the chart with details.
- Frame.Navigate(typeof(NewPage),list);
+ Frame.Navigate(typeof(NewPage), list);
}
}
}
diff --git a/Drill_Down_Sample/MainWindow.xaml b/DrillDown_Sample/Drill_Down_Sample/MainWindow.xaml
similarity index 65%
rename from Drill_Down_Sample/MainWindow.xaml
rename to DrillDown_Sample/Drill_Down_Sample/MainWindow.xaml
index ecd44e8..2081f00 100644
--- a/Drill_Down_Sample/MainWindow.xaml
+++ b/DrillDown_Sample/Drill_Down_Sample/MainWindow.xaml
@@ -2,13 +2,13 @@
-
-
+ mc:Ignorable="d"
+ xmlns:local="using:Drill_Down_Sample"
+ Title="Drill_Down_Sample">
+
diff --git a/Drill_Down_Sample/MainWindow.xaml.cs b/DrillDown_Sample/Drill_Down_Sample/MainWindow.xaml.cs
similarity index 92%
rename from Drill_Down_Sample/MainWindow.xaml.cs
rename to DrillDown_Sample/Drill_Down_Sample/MainWindow.xaml.cs
index 7c09fa9..8327d85 100644
--- a/Drill_Down_Sample/MainWindow.xaml.cs
+++ b/DrillDown_Sample/Drill_Down_Sample/MainWindow.xaml.cs
@@ -1,3 +1,9 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls.Primitives;
@@ -5,11 +11,7 @@
using Microsoft.UI.Xaml.Input;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Navigation;
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
+using Syncfusion.UI.Xaml.Charts;
using Windows.Foundation;
using Windows.Foundation.Collections;
@@ -26,6 +28,6 @@ public sealed partial class MainWindow : Window
public MainWindow()
{
this.InitializeComponent();
- }
+ }
}
}
diff --git a/Drill_Down_Sample/Model/Model.cs b/DrillDown_Sample/Drill_Down_Sample/Model/Model.cs
similarity index 100%
rename from Drill_Down_Sample/Model/Model.cs
rename to DrillDown_Sample/Drill_Down_Sample/Model/Model.cs
diff --git a/Drill_Down_Sample/NewPage.xaml b/DrillDown_Sample/Drill_Down_Sample/NewPage.xaml
similarity index 75%
rename from Drill_Down_Sample/NewPage.xaml
rename to DrillDown_Sample/Drill_Down_Sample/NewPage.xaml
index c32cb63..9db9856 100644
--- a/Drill_Down_Sample/NewPage.xaml
+++ b/DrillDown_Sample/Drill_Down_Sample/NewPage.xaml
@@ -4,24 +4,25 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Drill_Down_Sample"
- xmlns:chart="using:Syncfusion.UI.Xaml.Charts"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
+ xmlns:chart="using:Syncfusion.UI.Xaml.Charts"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
+
+ Margin="0,90,0,0" Click="HyperlinkButton_Click"
+ HorizontalAlignment="Left"/>
-
+ HorizontalAlignment="Center" VerticalAlignment="Center">
+
@@ -30,9 +31,9 @@
+ XBindingPath="Type" ShowDataLabels="True"
+ YBindingPath="Value"
+ ItemsSource="{Binding Collections}"/>
diff --git a/Drill_Down_Sample/NewPage.xaml.cs b/DrillDown_Sample/Drill_Down_Sample/NewPage.xaml.cs
similarity index 94%
rename from Drill_Down_Sample/NewPage.xaml.cs
rename to DrillDown_Sample/Drill_Down_Sample/NewPage.xaml.cs
index 7e465f3..8b1ed6c 100644
--- a/Drill_Down_Sample/NewPage.xaml.cs
+++ b/DrillDown_Sample/Drill_Down_Sample/NewPage.xaml.cs
@@ -12,7 +12,6 @@
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
-using static System.Net.WebRequestMethods;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
@@ -24,23 +23,16 @@ namespace Drill_Down_Sample
///
public sealed partial class NewPage : Page
{
-
public NewPage()
{
this.InitializeComponent();
}
-
- private void HyperlinkButton_Click(object sender, RoutedEventArgs e)
- {
- Frame.Navigate(typeof(MainPage));
- }
-
protected override void OnNavigatedTo(NavigationEventArgs e)
{
if (e.Parameter is object)
{
List