Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
6679 | Aug 22,2003 05:45 AM UTC | Aug 25,2003 12:04 PM UTC | WinForms | 8 |
![]() |
Tags: GridControl |
this.gridControl1.Properties.FixedLinesColor
private void gridControl1_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e) { if(e.ColIndex == this.gridControl1.Cols.FrozenCount&& e.RowIndex > 0) { e.Style.Borders.Right = new GridBorder(GridBorderStyle.Dotted, SystemColors.ActiveCaption);//, GridBorderWeight.Thin); } }
public Form1() { InitializeComponent(); this.gridControl1.Rows.FrozenCount = 1; this.gridControl1.Cols.FrozenCount = 1; gridControl1.TableStyle.Borders.Right = new GridBorder(gridControl1.DefaultGridBorderStyle, SystemColors.ActiveCaption); gridControl1.Properties.DisplayVertLines = false; gridControl1.TableStyle.Borders.Bottom = new GridBorder(gridControl1.DefaultGridBorderStyle, SystemColors.ActiveCaption); gridControl1.Properties.DisplayHorzLines = false; }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.