개정판 43adf299
issue #0000 다중선택 후 값변경 속도 향상
Change-Id: I1d9d7465ae1231588c4a3e4e08b1243070fa46d7
ID2.Manager/ID2.Manager.Data/NotifyPropertyChange.cs | ||
---|---|---|
10 | 10 |
{ |
11 | 11 |
public class NotifyPropertyChange : INotifyPropertyChanged |
12 | 12 |
{ |
13 |
|
|
13 |
public bool SuspendUpdate; |
|
14 |
|
|
14 | 15 |
public event PropertyChangedEventHandler PropertyChanged; |
15 | 16 |
|
16 | 17 |
protected void RaisePropertyChanged(string propertyName) |
... | ... | |
24 | 25 |
return false; |
25 | 26 |
|
26 | 27 |
storage = value; |
27 |
RaisePropertyChanged(propertyName); |
|
28 |
|
|
29 |
if (!SuspendUpdate) |
|
30 |
{ |
|
31 |
RaisePropertyChanged(propertyName); |
|
32 |
} |
|
33 |
|
|
28 | 34 |
return true; |
29 | 35 |
} |
30 | 36 |
} |
내보내기 Unified diff