Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
25533 | Mar 1,2005 10:20 AM UTC | Mar 1,2005 01:09 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
GridStyleInfo style = this.gridDataBoundGrid1.BaseStylesMap["Column Header"].StyleInfo;
style.CellType = "Static";
style.CellAppearance = GridCellAppearance.Flat;
Color c = SystemColors.ControlDark;
style.Borders.Right = new GridBorder(GridBorderStyle.Solid, c);
style.Borders.Bottom = new GridBorder(GridBorderStyle.Solid, c);
style.Borders.Top = new GridBorder(GridBorderStyle.Solid, c);
style.Borders.Left = GridBorder.Empty;
style = this.gridDataBoundGrid1.BaseStylesMap["Header"].StyleInfo;
style.CellType = "Static";
style.CellAppearance = GridCellAppearance.Flat;
style.Borders.Right = new GridBorder(GridBorderStyle.Solid, c);
style.Borders.Bottom = new GridBorder(GridBorderStyle.Solid, c);
style.Borders.Top = new GridBorder(GridBorderStyle.Solid, c);
style.Borders.Left = new GridBorder(GridBorderStyle.Solid, c);
style = this.gridDataBoundGrid1.BaseStylesMap["Row Header"].StyleInfo;
style.CellType = "Static";
style.CellAppearance = GridCellAppearance.Flat;
style.Borders.Right = new GridBorder(GridBorderStyle.Solid, c);
style.Borders.Bottom = new GridBorder(GridBorderStyle.Solid, c);
style.Borders.Top = GridBorder.Empty;
style.Borders.Left = new GridBorder(GridBorderStyle.Solid, c);
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.