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 =
False
RadGridView1.ShowGroupPanel =
False
RadGridView1.AllowAddNewRow =
False
RadGridView1.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 =
Nothing
RadGridView1.TableElement.DrawBorder =
True
RadGridView1.TableElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.SingleBorder
RadGridView1.TableElement.BorderGradientStyle = Telerik.WinControls.GradientStyles.Solid
RadGridView1.TableElement.BorderColor = Color.Yellow
RadGridView1.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.