Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
14176 | May 20,2004 01:11 AM UTC | May 20,2004 05:43 AM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
this.gridDataBoundGrid1.BaseStylesMap["Header"].StyleInfo.CellAppearance = GridCellAppearance.Sunken;
this.gridDataBoundGrid1.Refresh();
If you need some other look on the cell border, you can draw the border yourself using the DrawCellFrameAppearance. In the handler draw what you want, and then set e.Cancel = true to prevent the grid from doing its default drawing. You can see sample usage in Grid\Samples\In Depth\CustomBorders.
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.