markus / KCOM / Common / ThumbnailItem.cs @ d18ea2bd
이력 | 보기 | 이력해설 | 다운로드 (1.8 KB)
1 |
using IKCOM; |
---|---|
2 |
using System; |
3 |
using System.Collections.Generic; |
4 |
using System.Collections.ObjectModel; |
5 |
using System.ComponentModel; |
6 |
using System.Linq; |
7 |
using System.Text; |
8 |
|
9 |
namespace KCOM.Common |
10 |
{ |
11 |
public class ThumbnailItem : INotifyPropertyChanged |
12 |
{ |
13 |
public ThumbnailItem() |
14 |
{ |
15 |
} |
16 |
|
17 |
public Uri ImageUri { get; set; } |
18 |
|
19 |
private List<SetColorMarkupItem> _DisplayColorItems; |
20 |
|
21 |
public List<SetColorMarkupItem> DisplayColorItems |
22 |
{ |
23 |
get { |
24 |
return _DisplayColorItems; |
25 |
} |
26 |
|
27 |
set { |
28 |
_DisplayColorItems = value; |
29 |
|
30 |
NotifyPropertyChanged("DisplayColorItems"); |
31 |
} |
32 |
} |
33 |
|
34 |
private int _Angle; |
35 |
|
36 |
public int Angle |
37 |
{ |
38 |
get |
39 |
{ |
40 |
return _Angle; |
41 |
} |
42 |
|
43 |
set |
44 |
{ |
45 |
if (_Angle != value) |
46 |
{ |
47 |
_Angle = value; |
48 |
|
49 |
NotifyPropertyChanged("Angle"); |
50 |
} |
51 |
} |
52 |
} |
53 |
|
54 |
public int PageNumber { get; set; } |
55 |
|
56 |
//강인구 추가 |
57 |
public double Width { get; set; } |
58 |
public double Height { get; set; } |
59 |
|
60 |
/// <summary> |
61 |
/// 페이지 경로 |
62 |
/// 2019.07.03 김태성 추가 |
63 |
/// </summary> |
64 |
public Uri PageUri { get; set; } |
65 |
|
66 |
public event PropertyChangedEventHandler PropertyChanged; |
67 |
|
68 |
public void NotifyPropertyChanged(string propertyName) |
69 |
{ |
70 |
if (PropertyChanged != null) |
71 |
{ |
72 |
PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); |
73 |
} |
74 |
} |
75 |
} |
76 |
|
77 |
//public class SetColorMarkupItem |
78 |
//{ |
79 |
// public string markupID { get; set; } |
80 |
// public string DisplayColor { get; set; } |
81 |
//} |
82 |
} |