forked from HandyOrg/HandyControl
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPropertyGridDemoModel.cs
More file actions
36 lines (27 loc) · 813 Bytes
/
PropertyGridDemoModel.cs
File metadata and controls
36 lines (27 loc) · 813 Bytes
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
using System.ComponentModel;
using System.Windows;
using System.Windows.Media;
namespace HandyControlDemo.Data
{
public class PropertyGridDemoModel
{
[Category("Category1")]
public string String { get; set; }
[Category("Category2")]
public int Integer { get; set; }
[Category("Category2")]
public bool Boolean { get; set; }
[Category("Category1")]
public Gender Enum { get; set; }
[Category("Category2")]
public DemoDataModel FlattenedType { get; set; }
public HorizontalAlignment HorizontalAlignment { get; set; }
public VerticalAlignment VerticalAlignment { get; set; }
public ImageSource ImageSource { get; set; }
}
public enum Gender
{
Male,
Female
}
}