Steps:
1) Add a RadForm with a button and a ListView in DetailView mode.
2) Add some columns. Add some items with values for each cell.
3) Apply Fluent Theme to all controls.
4) In the click handler of the button clear the listview items collection.
5) Run the app, select a row. Click the button to clear the list.
Desired Result:
The listview should have a consistent column highlight style between the default Rad theme and Fluent Theme, and/or MS WinForms.
Actual Result:
See attachment. The associated column of the selected cell is highlighted but only in the Fluent Theme, and it remains highlighted even in an empty listview. My user's are confused and complaining.
Not sure why Fluent is highlighting columns when the default theme doesn't.
Work Around:
Loop through all of the listview headers and reset the colors.
foreach(var item in this.radListView1.RootElement.ChildrenHierarchy) { if (item is DetailListViewHeaderCellElement) { var Header = item as DetailListViewHeaderCellElement; Header.BackColor = SystemColors.Control; Header.ForeColor = SystemColors.ControlText; } }