2014. 3. 25. 11:34
Computer/App.
- List<UIElement> list = grid.Children.Cast<UIElement>().ToList();
- foreach (var item in list)
- {
- int nRowIdx = Grid.GetRow(item);
- int nColIdx = Grid.GetColumn(item);
- // 로우 인덱스 변경
- Grid.SetRow(item, nRowIdx + 1);
- // 컬럼 인덱스 변경
- Grid.SetColumn(item, nColIdx + 1);
- }
'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 |