markus / KCOM / Common / ThumbnailItem.cs @ 65768148
이력 | 보기 | 이력해설 | 다운로드 (1.52 KB)
1 | 787a4489 | KangIngu | using IKCOM; |
---|---|---|---|
2 | using System; |
||
3 | using System.Collections.Generic; |
||
4 | 81e3a60f | 송근호 | using System.Collections.ObjectModel; |
5 | using System.ComponentModel; |
||
6 | 787a4489 | KangIngu | using System.Linq; |
7 | using System.Text; |
||
8 | |||
9 | namespace KCOM.Common |
||
10 | { |
||
11 | 81e3a60f | 송근호 | public class ThumbnailItem : INotifyPropertyChanged |
12 | 787a4489 | KangIngu | { |
13 | public ThumbnailItem() |
||
14 | { |
||
15 | 8ff1bf3a | 송근호 | DisplayColorItems = new List<SetColorMarkupItem>(); |
16 | 787a4489 | KangIngu | } |
17 | cdfb57ff | taeseongkim | |
18 | 787a4489 | KangIngu | public Uri ImageUri { get; set; } |
19 | cdfb57ff | taeseongkim | |
20 | 8ff1bf3a | 송근호 | private List<SetColorMarkupItem> _DisplayColorItems; |
21 | 81e3a60f | 송근호 | |
22 | 8ff1bf3a | 송근호 | public List<SetColorMarkupItem> DisplayColorItems |
23 | 81e3a60f | 송근호 | { |
24 | get { return _DisplayColorItems; } |
||
25 | set { _DisplayColorItems = value; |
||
26 | NotifyPropertyChanged("DisplayColorItems"); |
||
27 | } |
||
28 | } |
||
29 | |||
30 | |||
31 | 787a4489 | KangIngu | 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 | cdfb57ff | taeseongkim | |
38 | /// <summary> |
||
39 | /// 페이지 경로 |
||
40 | /// 2019.07.03 김태성 추가 |
||
41 | /// </summary> |
||
42 | public Uri PageUri { get; set; } |
||
43 | 81e3a60f | 송근호 | |
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 | 787a4489 | KangIngu | } |
54 | |||
55 | //public class SetColorMarkupItem |
||
56 | //{ |
||
57 | // public string markupID { get; set; } |
||
58 | // public string DisplayColor { get; set; } |
||
59 | //} |
||
60 | } |