gridcontrol2 c# devExpress GridControl. Drawing line 데브익스프레스 윈폼 그리드컨트롤에서 그리드 선 다시 그리기. GridControl_Paint(object sender, PaintEventArgs e) { if (gridRowInfo == null) return; foreach(var gridRow in gridRowInfo) { e.Graphics.DrawLine(new Pen(Color.Gray) { DashStyle = System.Drawing.Drawing2D.DashStyle.Dot }, new Point(gridRow.Bounds.X, gridRow.Bounds.Bottom), new Point(gridRow.Bounds.Right, gridRow.Bounds.Bottom)); foreach(var cellInfo in gridDataRow.. 2023. 11. 13. DevExpress GridControl 특정 셀에 핸드 커서 표시 public static void GridBandColumnHandCursor(BandedGridView view, params string[]fieldName) { view.MouseMove += (sender, e) => HandCursor_BandedGridView_MouseMove(sender, e, fieldName); } private static void HandCursor_BandedGridView_MouseMove(object sender, MouseEventArgs e, params string[]fieldName) { BandedGridView view = sender as BandedGridView; if (view != null) { DevExpress.XtraGrid.Views... 2023. 11. 13. 이전 1 다음 반응형