프로젝트

일반

사용자정보

개정판 2d584f1a

ID2d584f1a6ed1728e771f440ba3b26b230aabd516
상위 6443ebfe
하위 7b7c441a

김동진이(가) 5년 이상 전에 추가함

issue #679: key down 이벤트 수정. selecteditem 불필요 부분 삭제.

Change-Id: I9cfb487bb099a6fa44dadac54c6b9c4bb1196dea

차이점 보기:

KCOM/Controls/Sample.xaml.cs
165 165
                }
166 166
            }
167 167

  
168
            var border = VisualTreeHelper.GetChild(ImgListbox, 0);
169
            if(border!= null)
170
            {
171
                IEnumerable<ScrollViewer> scrollViewer = border.ChildrenOfType<ScrollViewer>();
172
            }
168
            //var border = VisualTreeHelper.GetChild(ImgListbox, 0);
169
            //if (border != null)
170
            //{
171
            //    IEnumerable<ScrollViewer> scrollViewer = border.ChildrenOfType<ScrollViewer>();
172

  
173
            //}
174
            //ScrollViewer scrollViewer = (sender as RadListBox) as ScrollViewer;
175

  
176
            
177
            //System.Diagnostics.Debug.WriteLine("page:"+ImgListbox.SelectedIndex);
173 178
        }
174 179

  
175 180
        public bool GotoPageFlag = false;
......
226 231
                        PageUri = uri,
227 232
                        PageNumber = thumbitem.PageNumber
228 233
                    });
229
                    ImgListbox.SelectedItem = thumbitem;
234
                    //ImgListbox.SelectedItem = thumbitem;                    
235
                    //ImgListbox.Items.MoveCurrentTo(thumbitem);
236
                    
230 237
                    this.CurrentPage = thumbitem;
231 238
                }
232 239
                else
......
466 473
            //this.ImgListbox.ItemsSource = null;
467 474
            Logger.sendCheckLog("SetCommentList_ImgListbox 설정", 1);
468 475

  
469
       
470
                this.ImgListbox.ItemsSource = this._thumbnailItems;
471
                var template = this.ImgListbox.ItemTemplate;
472
                this.ImgListbox.ItemTemplate = null;
473
                this.ImgListbox.ItemTemplate = template;
474
               //Logger.sendCheckLog("SetCommentList_ImgListbox UpdateLayout_Start", 1);
475
                //this.ImgListbox.UpdateLayout();
476
                //Logger.sendCheckLog("SetCommentList_ImgListbox UpdateLayout_End", 1);
477
           
476

  
477
            //this.ImgListbox.ItemsSource = this._thumbnailItems;
478
            var template = this.ImgListbox.ItemTemplate;
479
            this.ImgListbox.ItemTemplate = null;
480
            this.ImgListbox.ItemTemplate = template; 
481

  
478 482
        }
479 483

  
480 484
        private void ThumbnailSet()

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)