Hello,
When using a VisualStudio2012Dark themed GridView with ColumnHeader, GroupPanel, and AddNewRow turned off, the top border of the grid is missing. It only appears with a border width that is greater than 1.
To reproduce:
- Drop a RadGridView into a new form
- Change the form's theme to VisualStudio2012DarkTheme. Apply to all controls.
- Add the following to the form's load event
RadGridView1.ShowColumnHeaders = FalseRadGridView1.ShowGroupPanel = FalseRadGridView1.AllowAddNewRow = FalseRadGridView1.Columns.Add("1")RadGridView1.Columns.Add("2")RadGridView1.Columns.Add("3")RadGridView1.Rows.Add(1, 2, 3)RadGridView1.Rows.Add(4, 5, 6)RadGridView1.CurrentRow = NothingRadGridView1.TableElement.DrawBorder = TrueRadGridView1.TableElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.SingleBorderRadGridView1.TableElement.BorderGradientStyle = Telerik.WinControls.GradientStyles.SolidRadGridView1.TableElement.BorderColor = Color.YellowRadGridView1.TableElement.BorderWidth = 1
I'm not sure if that is part of the theme, but either way I can't seem to add a single pixel border to the top.
Also, the description for TableElement.BorderWidth is incorrect; it says it is for the left border.
This is for R3 2018.
