Programming/WPF [WPF Grid] 컨트롤의 Grid 값 읽어오기 및 변경 푸어맨 2017. 6. 16. 15:29 private void button_Click(object sender, RoutedEventArgs e) { int rIndex = Grid.GetRow(lGravity); rIndex -= 1; if (rIndex < 0) rIndex = 0; Grid.SetRow(lGravity, rIndex); }