Home Forums WinForms controls Xceed Grid for WinForms How can i make one column header different with others

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #16655 |

    Hello ,I have a question that how I can make one column header different with others?

    Many thanks

    Imported from legacy forums. Posted by Hot (had 611 views)

    User (Old forums)
    Member
    Post count: 23064

    You can access each header through the Cells collection on the ColumnManagerRow, and then set its properties.   However, if the GridControl.UIStyle property is not set to Classic, you will also need to set the OverrideUIStyle property.

    e.g.:

    columnManagerRow1.Cells[ “SomeColumn” ].OverrideUIStyle = true;

    columnManagerRow1.Cells[ “SomeColumn” ].BackColor = Color.Red;

     

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.