개정판 6443ebfe
issue #679: ScrollIntoView 주석.
Change-Id: Ib88dfb990728d22889540295faa606a6a0ede848
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
190 | 190 |
{ |
191 | 191 |
var _itemIndex = this._thumbnailItems.IndexOf(thumbnailitem); |
192 | 192 |
ImgListbox.SelectedItem = thumbnailitem; |
193 |
|
|
194 |
if (_itemIndex < _thumbnailItems.Count() - 1) |
|
195 |
ImgListbox.ScrollIntoView(_itemIndex); |
|
196 |
else |
|
197 |
ImgListbox.ScrollIntoView(this._thumbnailItems.Count() - 1); |
|
193 |
//ImgListbox.Items.MoveCurrentTo(thumbnailitem); |
|
194 |
//if (_itemIndex < _thumbnailItems.Count() - 1)
|
|
195 |
// ImgListbox.ScrollIntoView(_itemIndex);
|
|
196 |
//else
|
|
197 |
// ImgListbox.ScrollIntoView(this._thumbnailItems.Count() - 1);
|
|
198 | 198 |
} |
199 | 199 |
} |
200 | 200 |
} |
... | ... | |
248 | 248 |
ThumbnailItem _item = _page.First(); |
249 | 249 |
setPageChangeTALK(_item, _angle); |
250 | 250 |
this.ImgListbox.SelectedIndex = _pageNumber - 1; |
251 |
this.ImgListbox.ScrollIntoView(_pageNumber - 1); |
|
251 |
//this.ImgListbox.ScrollIntoView(_pageNumber - 1);
|
|
252 | 252 |
} |
253 | 253 |
} |
254 | 254 |
} |
내보내기 Unified diff