개정판 6a19b48d
issue #00000 페이지 이미지 download 로직 수정
Change-Id: I4da03c36b5a135eea80b57b20ada38239afd1082
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
212 | 212 |
//Dispatcher.BeginInvoke((Action)delegate () |
213 | 213 |
//{ |
214 | 214 |
items.First().ImageUri = new Uri(e.Path, UriKind.Absolute); |
215 |
System.Diagnostics.Debug.WriteLine($"no:{e.PageNo} {e.Path}"); |
|
215 | 216 |
|
216 |
|
|
217 |
if (e.PageNo > 2 && ImgListbox.Items.Count > 0) |
|
217 |
if(e.IsLast) |
|
218 | 218 |
{ |
219 |
ImgListbox.IsScrollIntoViewEnabled = true; |
|
220 |
//ImgListbox.BringIntoView(); |
|
221 |
ImgListbox.ScrollIntoView(0); |
|
219 |
(sender as IIpc.IIpcServer).IpcThumbnailReceived -= WcfServer_IpcThumbnailReceived; |
|
220 |
//(sender as IIpc.IIpcServer).Stop(); |
|
222 | 221 |
} |
223 | 222 |
|
223 |
//if (e.PageNo > 2 && ImgListbox.Items.Count > 0) |
|
224 |
//{ |
|
225 |
|
|
226 |
// ImgListbox.IsScrollIntoViewEnabled = true; |
|
227 |
// //ImgListbox.BringIntoView(); |
|
228 |
// ImgListbox.ScrollIntoView(0); |
|
229 |
//} |
|
230 |
|
|
224 | 231 |
//}); |
225 | 232 |
} |
226 | 233 |
} |
내보내기 Unified diff