Home Forums WinForms controls Xceed Grid for WinForms Making just column headers bold and not rows under it

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

    how do I make the rows underneath the column header to not be bold? I want the column title to be bold but not all rows underneath….

    This is the code I have… 

            Dim colCompleted As Xceed.Grid.Column = xgcTestGetTables.Columns.Item(1)
            colCompleted.Title = “Completed”
            colCompleted.Font = New Font(“Tahoma”, 12, FontStyle.Bold)

    this is what it looks like right now…

     

     

    Thanks 

     

     

     

     

     

    Imported from legacy forums. Posted by Codero (had 512 views)

    User (Old forums)
    Member
    Post count: 23064

    You need to do this on the ColumnManagerRow or the ColumnManagerCell, not on the Column.

    e.g.:

      ColumnManagerRow1.Font =

    New Font(“Tahoma”, 12, FontStyle.Bold)

    ‘or

      For Each cell As ColumnManagerCell In ColumnManagerRow1.Cells

          cell.Font =

    New Font(“Tahoma”, 12, FontStyle.Bold)

      Next

     

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

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