Skip to content

Commit 2b4cfc5

Browse files
author
Vignesh Ramesh
authored
Merge pull request #1 from VishalOmprasad/master
WINUI-3125: Progressive Scale sample using WinUI SfRadialGauge
2 parents c459498 + 2c3b67d commit 2b4cfc5

20 files changed

+524
-2
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.3.32922.545
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProgressiveScale", "ProgressiveScale\ProgressiveScale.csproj", "{8402281C-1BFF-43B4-ADAC-81656E7C2B93}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|arm64 = Debug|arm64
11+
Debug|x64 = Debug|x64
12+
Debug|x86 = Debug|x86
13+
Release|arm64 = Release|arm64
14+
Release|x64 = Release|x64
15+
Release|x86 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|arm64.ActiveCfg = Debug|arm64
19+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|arm64.Build.0 = Debug|arm64
20+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|arm64.Deploy.0 = Debug|arm64
21+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|x64.ActiveCfg = Debug|x64
22+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|x64.Build.0 = Debug|x64
23+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|x64.Deploy.0 = Debug|x64
24+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|x86.ActiveCfg = Debug|x86
25+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|x86.Build.0 = Debug|x86
26+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Debug|x86.Deploy.0 = Debug|x86
27+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|arm64.ActiveCfg = Release|arm64
28+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|arm64.Build.0 = Release|arm64
29+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|arm64.Deploy.0 = Release|arm64
30+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|x64.ActiveCfg = Release|x64
31+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|x64.Build.0 = Release|x64
32+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|x64.Deploy.0 = Release|x64
33+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|x86.ActiveCfg = Release|x86
34+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|x86.Build.0 = Release|x86
35+
{8402281C-1BFF-43B4-ADAC-81656E7C2B93}.Release|x86.Deploy.0 = Release|x86
36+
EndGlobalSection
37+
GlobalSection(SolutionProperties) = preSolution
38+
HideSolutionNode = FALSE
39+
EndGlobalSection
40+
GlobalSection(ExtensibilityGlobals) = postSolution
41+
SolutionGuid = {BE9595CC-9F4D-4E35-9AF1-6A63A692FABC}
42+
EndGlobalSection
43+
EndGlobal
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Application
2+
x:Class="ProgressiveScale.App"
3+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:local="using:ProgressiveScale">
6+
<Application.Resources>
7+
<ResourceDictionary>
8+
<ResourceDictionary.MergedDictionaries>
9+
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
10+
<!-- Other merged dictionaries here -->
11+
</ResourceDictionary.MergedDictionaries>
12+
<!-- Other app resources here -->
13+
</ResourceDictionary>
14+
</Application.Resources>
15+
</Application>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
using Microsoft.UI.Xaml;
2+
using Microsoft.UI.Xaml.Controls;
3+
using Microsoft.UI.Xaml.Controls.Primitives;
4+
using Microsoft.UI.Xaml.Data;
5+
using Microsoft.UI.Xaml.Input;
6+
using Microsoft.UI.Xaml.Media;
7+
using Microsoft.UI.Xaml.Navigation;
8+
using Microsoft.UI.Xaml.Shapes;
9+
using System;
10+
using System.Collections.Generic;
11+
using System.IO;
12+
using System.Linq;
13+
using System.Runtime.InteropServices.WindowsRuntime;
14+
using Windows.ApplicationModel;
15+
using Windows.ApplicationModel.Activation;
16+
using Windows.Foundation;
17+
using Windows.Foundation.Collections;
18+
19+
// To learn more about WinUI, the WinUI project structure,
20+
// and more about our project templates, see: http://aka.ms/winui-project-info.
21+
22+
namespace ProgressiveScale
23+
{
24+
/// <summary>
25+
/// Provides application-specific behavior to supplement the default Application class.
26+
/// </summary>
27+
public partial class App : Application
28+
{
29+
/// <summary>
30+
/// Initializes the singleton application object. This is the first line of authored code
31+
/// executed, and as such is the logical equivalent of main() or WinMain().
32+
/// </summary>
33+
public App()
34+
{
35+
this.InitializeComponent();
36+
}
37+
38+
/// <summary>
39+
/// Invoked when the application is launched normally by the end user. Other entry points
40+
/// will be used such as when the application is launched to open a specific file.
41+
/// </summary>
42+
/// <param name="args">Details about the launch request and process.</param>
43+
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
44+
{
45+
m_window = new MainWindow();
46+
m_window.Activate();
47+
}
48+
49+
private Window m_window;
50+
}
51+
}
432 Bytes
Loading
5.25 KB
Loading
1.71 KB
Loading
637 Bytes
Loading
283 Bytes
Loading
456 Bytes
Loading
2.05 KB
Loading

0 commit comments

Comments
 (0)