반응형 색칠하기1 C# Grid Row에 번갈아가며 Color 설정하기 안녕하세요. 아래 그림과 같이 Row에 번갈아가면 색칠하는 방법에 대해 설명드릴게요. 코드는 아래와 같습니다. private void Form1_Load(object sender, EventArgs e) { //데이터 설정 List dataList = GetDataList(); this.gridControl1.DataSource = dataList; GridView gridView = this.gridControl1.MainView as GridView; gridView.BestFitColumns(); //Grid RowStyle 이벤트 설정 gridView.RowStyle += GridView_RowStyle; } private void GridView_RowStyle(object sender, Row.. 2020. 10. 23. 이전 1 다음 반응형