I'm trying to set a border style inside a GridQueryCellInfo handler by doing something like:
style.Borders.Left = new sfGrid.GridBorder (sfGrid.GridBorderStyle.Standard,
System.Drawing.Color.Black,
sfGrid.GridBorderWeight.Thick);
But it's not working. What am I doing wrong?
AK
Andy Kay
August 8, 2003 01:17 PM UTC
I should point out that sfGrid is:
using sfGrid = Syncfusion.Windows.Forms.Grid;
AD
Administrator
Syncfusion Team
August 8, 2003 01:29 PM UTC
You can only apply thichnesses to solid borders.
So try:
style.Borders.Left = new GridBorder(GridBorderStyle.Solid, Color.Blue, GridBorderWeight.Thick);
AK
Andy Kay
August 8, 2003 01:31 PM UTC
Thanks, Clay.