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.
ES 2.0.6.0
What am I doing wrong here? I just want to set the border style to solid and I''m trying this code:
this.m_Grid[nRow, n].Borders.Bottom.Style = GridBorderStyle.Solid;
Unfortunately it tells me that Syncfusion.Windows.Forms.Grid.GridBorder.Style is read-only.
How can I programmatically set the border style?
ADAdministrator Syncfusion Team July 29, 2004 02:32 PM UTC
Try this code.
this.m_Grid[nRow, n].Borders.Bottom = new GridBorder(GridBorderStyle.Solid);
SGSean GreerJuly 29, 2004 02:50 PM UTC
Yep, I figured that one out.
I was looking at the CellStyles sample and noticed that the property grid is able to change a cell''s border style. How is that? Is there a custom propertydescriptor in the mix?
ADAdministrator Syncfusion Team July 29, 2004 03:05 PM UTC
Yes.
Grid\Src\Base\Styles\GridBorderStyleEditor.cs(21): internal class GridBorderStyleEditor : UITypeEditor