Computer/App. [WPF] Grid에서 Row/Column 인덱스 변경 상Q 2014. 3. 25. 11:34 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); } 저작자표시 비영리 변경금지 (새창열림)