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.
Override the paint method of DataGrid
Code:
Graphics dc=e.Graphics;
if(e.ClipRectangle.Top <132 && e.ClipRectangle.Left <82)
{
Pen BluePen=new Pen(Color.Blue,1);
Rectangle r=new Rectangle(0,0,this.Width,this.Height);
Color Cl=Color.FromArgb(219,220,220);
LinearGradientBrush Br=new LinearGradientBrush(r,Color.White,Cl,LinearGradientMode.Vertical);
e.Graphics.FillRectangle(Br,r);
}
base.OnPaint(e);
>How to set gradient color (slides from blue to white) to the datagrid''s caption and column headers? Does anyone know how to make this?
>
>
>