-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathSamplesConfiguration.cs
60 lines (51 loc) · 2.08 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
#region Copyright Syncfusion® Inc. 2001-2025.
// Copyright Syncfusion® Inc. 2001-2025. 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
// [email protected]. Any infringement will be prosecuted under
// applicable laws.
#endregion
using Syncfusion.DemosCommon.WinUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Syncfusion.BarcodeDemos.WinUI
{
public class SamplesConfiguration
{
public SamplesConfiguration()
{
// Showcase & Updated
// Showcase & New
//What's New
DemoInfo showCaseSample1 = new DemoInfo()
{
Name = "Getting Started",
Category = "Getting Started",
Description = "This sample showcases how to display data in the encoded machine-readable format using supported symbol types either in a one-dimensional or two-dimensional pattern.",
DemoType = DemoTypes.None,
DemoView = typeof(Views.BarcodeDemoPage)
};
showCaseSample1.Documentation.AddRange(new List<Documentation>()
{ new Documentation() { Content = "Barcode - API", Uri = new Uri("https://help.syncfusion.com"), } });
// Updated
var demos = new List<DemoInfo>()
{
showCaseSample1
};
var controlInfo = new ControlInfo()
{
Control = DemoControl.Barcode,
Description = "The Barcode is a data visualization control to generate and display data in a machine-readable format using supported symbol types.",
Glyph = "\uE709",
ImageSource= "Barcode.png",
ControlBadge = ControlBadge.None,
ControlCategory = ControlCategory.DataVisualization
};
controlInfo.Demos.AddRange(demos);
DemoHelper.ControlInfos.Add(controlInfo);
}
}
}