블로그 이미지
그냥 닥치고 해;
상Q

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
  • total
  • today
  • yesterday
2014. 3. 25. 11:34 Computer/App.
  1. List<UIElement> list = grid.Children.Cast<UIElement>().ToList();  
  2.   
  3. foreach (var item in list)  
  4. {  
  5.     int nRowIdx = Grid.GetRow(item);  
  6.     int nColIdx = Grid.GetColumn(item);  
  7.     // 로우 인덱스 변경  
  8.     Grid.SetRow(item, nRowIdx + 1);  
  9.     // 컬럼 인덱스 변경  
  10.     Grid.SetColumn(item, nColIdx + 1);  
  11. }  

'Computer > App.' 카테고리의 다른 글

[NSIS] 32bit/64bit 구분  (0) 2014.03.25
[WPF] Image Rotate  (0) 2014.03.25
[MFC] 실행파일의 경로 가져오기  (1) 2013.10.18
[NSIS]nsis에서 파일의 연결 프로그램 설정  (0) 2013.09.10
[MFC]MFC 파일 열기 저장하기 Dialog  (0) 2013.09.10
posted by 상Q