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.
I am trying to set the color of a row to blue. However, when I try to set the color by this code:
Me.GridControl.RowStyles(1).Borders.Bottom = New GridBorder(GridBorderStyle.Standard, Color.Blue)
the bordercolor does not change. What am I doing wrong? It seems that it works for any BorderStyle except Standard.
>I am trying to set the color of a row to blue. However, when I try to set the color by this code:
>
>Me.GridControl.RowStyles(1).Borders.Bottom = New GridBorder(GridBorderStyle.Standard, Color.Blue)
>
>the bordercolor does not change. What am I doing wrong? It seems that it works for any BorderStyle except Standard.
I am trying to set the Row''s border bottom to the color blue. not the backcolor of the cell.
ADAdministrator Syncfusion Team September 17, 2004 03:09 PM UTC
Color is only supported for solid border styles.
Me.GridControl.RowStyles(1).Borders.Bottom = new GridBorder(GridBorderStyle.Solid, Color.Blue)