-
Notifications
You must be signed in to change notification settings - Fork 10
/
SamplesConfiguration.cs
92 lines (84 loc) · 3.46 KB
/
SamplesConfiguration.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#region Copyright Syncfusion Inc. 2001-2024.
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;
using HeatMap;
namespace Syncfusion.SampleBrowser.UWP.HeatMap
{
public class SamplesConfiguration
{
public SamplesConfiguration()
{
SampleHelper.SampleViews.Add(new SampleInfo()
{
Header = "GettingStarted",
Category = Categories.DataVisualization,
Product = "HeatMap",
SearchKeys = new string[] { "HeatMap", "Basic" },
SampleView = typeof(GettingStarted1).AssemblyQualifiedName,
Tag = Tags.None,
ProductIcons = "ms-appx:///Assets/HeatMap.png",
});
if (DeviceFamily.GetDeviceFamily() == Devices.Desktop)
{
SampleHelper.SampleViews.Add(new SampleInfo()
{
Header = "ItemsMapping",
Category = Categories.DataVisualization,
Product = "HeatMap",
SearchKeys = new string[] { "HeatMap", "Basic", "ItemsMapping" },
SampleView = typeof(ItemsMapping).AssemblyQualifiedName,
Tag = Tags.None,
});
SampleHelper.SampleViews.Add(new SampleInfo()
{
Header = "Legend",
Category = Categories.DataVisualization,
Product = "HeatMap",
SearchKeys = new string[] { "HeatMap", "Basic", "Legend" },
SampleView = typeof(Legend).AssemblyQualifiedName,
Tag = Tags.None,
});
SampleHelper.SampleViews.Add(new SampleInfo()
{
Header = "Virtualization",
Category = Categories.DataVisualization,
Product = "HeatMap",
SearchKeys = new string[] { "HeatMap", "Basic", "Virtualization" },
SampleView = typeof(Virtualization).AssemblyQualifiedName,
Tag = Tags.None,
});
}
else if (DeviceFamily.GetDeviceFamily() == Devices.Mobile)
{
SampleHelper.SampleViews.Add(new SampleInfo()
{
Header = "TabelMapping",
Category = Categories.DataVisualization,
Product = "HeatMap",
SearchKeys = new string[] { "HeatMap", "Basic", "TabelMapping" },
SampleView = typeof(ItemsMapping_Mobile).AssemblyQualifiedName,
Tag = Tags.None,
});
SampleHelper.SampleViews.Add(new SampleInfo()
{
Header = "Legend",
Category = Categories.DataVisualization,
Product = "HeatMap",
SearchKeys = new string[] { "HeatMap", "Basic", "Legend" },
SampleView = typeof(Legend_Mobile).AssemblyQualifiedName,
Tag = Tags.None,
});
}
}
}
}