The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team May 20, 2004 05:43 AM UTC
Unless you have set grid.ThemesEnabled = true and are using XP OS, the grid draws headers raised by default.
If you are on XP, try setting grid.ThemesEnabled = false to see if that does what you want.
You can control the appearance of a cell (Raised, Flat, Sunken) by setting GridStyleInfo.CallAppearance. Here is code to change this property for all header cells.
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.