This repository has been archived by the owner on Feb 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathToolbarSet.cs
59 lines (53 loc) · 1.61 KB
/
ToolbarSet.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
using System.Collections.Generic;
namespace DNNConnect.CKEditorProvider.Objects
{
/// <summary>
/// Toolbar Set Class
/// </summary>
public class ToolbarSet
{
/// <summary>
/// Initializes a new instance of the <see cref="ToolbarSet" /> class.
/// </summary>
public ToolbarSet()
{
ToolbarGroups = new List<ToolbarGroup>();
}
/// <summary>
/// Initializes a new instance of the <see cref="ToolbarSet" /> class.
/// </summary>
/// <param name="name">The name.</param>
public ToolbarSet(string name)
{
Name = name;
ToolbarGroups = new List<ToolbarGroup>();
}
/// <summary>
/// Initializes a new instance of the <see cref="ToolbarSet" /> class.
/// </summary>
/// <param name="name">The name.</param>
/// <param name="priority">The priority.</param>
public ToolbarSet(string name, int priority)
{
Name = name;
Priority = priority;
ToolbarGroups = new List<ToolbarGroup>();
}
/// <summary>
/// Gets or sets The Name of the Toolbar Set
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets Toolbar Priority from 1-20
/// </summary>
public int Priority { get; set; }
/// <summary>
/// Gets or sets the toolbar group.
/// </summary>
/// <value>
/// The toolbar group.
/// </value>
public List<ToolbarGroup> ToolbarGroups { get; set; }
}
}