개정판 b2a6b24a
fixed issue #269: 썸네일 페이지 표기 오류
KCOM/Controls/Sample.xaml | ||
---|---|---|
494 | 494 |
BorderBrush="#FFC2C2C2" BorderThickness="0" |
495 | 495 |
SelectedIndex="0" |
496 | 496 |
ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
497 |
ScrollViewer.VerticalScrollBarVisibility="Auto" |
|
498 |
ScrollViewer.CanContentScroll="False" |
|
497 | 499 |
SelectionChanged="ImgListbox_SelectionChanged" |
498 | 500 |
telerik:StyleManager.Theme="Office2016" > |
499 | 501 |
<telerik:RadListBox.ItemsPanel> |
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
164 | 164 |
|
165 | 165 |
public bool GotoPageFlag = false; |
166 | 166 |
|
167 |
/// <summary> |
|
168 |
/// 해당 썸네일로 이동 |
|
169 |
/// </summary> |
|
170 |
/// <param name="_pageNumber"></param> |
|
167 | 171 |
public void GotoPage(int _pageNumber) |
168 | 172 |
{ |
169 | 173 |
int _PageNo = -1; |
... | ... | |
176 | 180 |
setPageChange(_item); |
177 | 181 |
if (ImgListbox.SelectedIndex != _PageNo-1) |
178 | 182 |
{ |
179 |
ImgListbox.SelectedIndex = _PageNo-1; |
|
183 |
this.ImgListbox.SelectedIndex = _PageNo-1;
|
|
180 | 184 |
} |
181 | 185 |
else if(this.CurrentPage.PageNumber == this.PageCount) |
182 | 186 |
{ |
183 |
ImgListbox.SelectedIndex = _pageNumber; |
|
187 |
this.ImgListbox.SelectedIndex = _pageNumber;
|
|
184 | 188 |
} |
185 | 189 |
} |
186 | 190 |
} |
내보내기 Unified diff