Last Updated: 18 Apr 2019 08:15 by ADMIN
Created on: 18 Apr 2019 07:54
Type: Bug Report
RadListView: ShowGridLines property is not respected when the CrystalDark theme is applied

Populate a RadListView with data, apply ListViewType.DetailsView and disable the ShowGridLines property.

With the ControlDefault theme it works, but if you apply the CrystalDark theme, the grid lines are still visible

1 comment
Dess | Tech Support Engineer, Sr.
Posted on: 18 Apr 2019 08:15
Hello, Jefferson,     

Thank you for reporting this.

I have also updated your Telerik points.

Currently, the possible solution that I can suggest is to use the following code snippet:  

this.radListView1.ShowGridLines = false;

private void radListView1_VisualItemFormatting(object sender, Telerik.WinControls.UI.ListViewVisualItemEventArgs e)
    e.VisualItem.DrawBorder = this.radListView1.ShowGridLines;
private void radListView1_CellFormatting(object sender, Telerik.WinControls.UI.ListViewCellFormattingEventArgs e)
    e.CellElement.DrawBorder = this.radListView1.ShowGridLines;

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.