Home Forums WinForms controls Xceed Grid for WinForms Vista style Reply To: Vista style

User (Old forums)
Post count: 23064

The detail grid has its own ColumnManagerRow and DataRowTemplate, so you also need to set the style on them.  If you have simply added a detail grid in the designer, it will be called columnManagerRow2 and dataRowTemplate2.


dataRowTemplate1.HotVisualStyle = hotVisualStyle
dataRowTemplate1.RowSelector.GradientMap = rowSelectorGradientMap
dataRowTemplate1.RowSelector.HotVisualStyle = rowSelectorHotVisualStyle

dataRowTemplate2.HotVisualStyle = hotVisualStyle
dataRowTemplate2.RowSelector.GradientMap = rowSelectorGradientMap
dataRowTemplate2.RowSelector.HotVisualStyle = rowSelectorHotVisualStyle


Imported from legacy forums. Posted by André (had 3039 views)