markus / KCOM / Common / UsersCommentPagesMember.cs @ 787a4489
이력 | 보기 | 이력해설 | 다운로드 (1.53 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.ComponentModel; |
4 |
using System.Linq; |
5 |
using System.Text; |
6 |
|
7 |
namespace KCOM.Common |
8 |
{ |
9 |
public class UsersCommentPagesMember : INotifyPropertyChanged |
10 |
{ |
11 |
public UsersCommentPagesMember() |
12 |
{ |
13 |
PageNumber = new List<int>(); |
14 |
} |
15 |
|
16 |
public string Depart { get; set; } |
17 |
public string UserName { get; set; } |
18 |
public string MarkupInfoID { get; set; } |
19 |
private string _SetColor { get; set; } |
20 |
public string SetColor |
21 |
{ |
22 |
get { return _SetColor; } |
23 |
set |
24 |
{ |
25 |
if (_SetColor != value) |
26 |
{ |
27 |
_SetColor = value; |
28 |
NotifyPropertyChanged("SetColor"); |
29 |
|
30 |
} |
31 |
} |
32 |
|
33 |
} |
34 |
public List<int> PageNumber { get; set; } |
35 |
public int isConSolidation { get; set; } |
36 |
private bool _IsSelected; |
37 |
public bool IsSelected |
38 |
{ |
39 |
get { return _IsSelected; } |
40 |
set |
41 |
{ |
42 |
if (_IsSelected != value) |
43 |
{ |
44 |
_IsSelected = value; |
45 |
NotifyPropertyChanged("IsSelected"); |
46 |
|
47 |
} |
48 |
} |
49 |
|
50 |
} |
51 |
|
52 |
public event PropertyChangedEventHandler PropertyChanged; |
53 |
|
54 |
public void NotifyPropertyChanged(string propertyName) |
55 |
{ |
56 |
if (PropertyChanged != null) |
57 |
{ |
58 |
PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); |
59 |
} |
60 |
} |
61 |
} |
62 |
} |