The only way for me to get the BackColor to really change on the ColumnManagerRow using a stylesheet is to set the OverrideUIStyle to true on the Grid object. The help file is very vague in how to use them. Can someone please shed some light on this.
Here is the code for my stylesheet:
‘ Creates and instance of the xceed stylesheet Dim xss As New Xceed.Grid.StyleSheet()
‘ Set the GRID properties xss.Grid.SelectionBackColor = Drawing.Color.Yellow xss.Grid.SelectionForeColor = Drawing.Color.Black
‘ Set the ColumnManager properties xss.ColumnManagerRow.BackColor = Drawing.Color.Navy xss.ColumnManagerRow.ForeColor = Drawing.Color.White
Imported from legacy forums. Posted by jdanko (had 1942 views)
I guess this has nothing to do with the Grid, but rather Windows styles taking control. I just set overrideUIstyle to true for everything and it lets me do what I want. If this is not right let me know. Thanks.
Imported from legacy forums. Posted by jdanko (had 2928 views)