markus / KCOM / Common / ThumbnailItem.cs @ 81e3a60f
이력 | 보기 | 이력해설 | 다운로드 (1.57 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 |
DisplayColorItems = new ObservableCollection<SetColorMarkupItem>(); |
16 |
} |
17 |
|
18 |
public Uri ImageUri { get; set; } |
19 |
|
20 |
private ObservableCollection<SetColorMarkupItem> _DisplayColorItems; |
21 |
|
22 |
public ObservableCollection<SetColorMarkupItem> DisplayColorItems |
23 |
{ |
24 |
get { return _DisplayColorItems; } |
25 |
set { _DisplayColorItems = value; |
26 |
NotifyPropertyChanged("DisplayColorItems"); |
27 |
} |
28 |
} |
29 |
|
30 |
|
31 |
public int PageNumber { get; set; } |
32 |
public int Angle { get; set; } |
33 |
|
34 |
//강인구 추가 |
35 |
public double Width { get; set; } |
36 |
public double Height { get; set; } |
37 |
|
38 |
/// <summary> |
39 |
/// 페이지 경로 |
40 |
/// 2019.07.03 김태성 추가 |
41 |
/// </summary> |
42 |
public Uri PageUri { get; set; } |
43 |
|
44 |
public event PropertyChangedEventHandler PropertyChanged; |
45 |
|
46 |
public void NotifyPropertyChanged(string propertyName) |
47 |
{ |
48 |
if (PropertyChanged != null) |
49 |
{ |
50 |
PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); |
51 |
} |
52 |
} |
53 |
} |
54 |
|
55 |
//public class SetColorMarkupItem |
56 |
//{ |
57 |
// public string markupID { get; set; } |
58 |
// public string DisplayColor { get; set; } |
59 |
//} |
60 |
} |