Overview | Methods | Fields | This Package | All Packages
OverviewMethodsFieldsThis PackageAll Packages
DataGrid.setHeaderFont
Sets the font of the grid's column headers.
Syntax
public void setHeaderFont( Font headerFont )
Parameters
headerFont
A Font object that specifies the new font of the column headers.
Remarks
By default, the column headers use the font of the text in the cells, which is defined by the DataGrid control's font property. Call setHeaderFont to draw the column headers in a different font. If necessary, the height of the headers will be automatically resized to accommodate the new font.
To return to the default font setting, set the headerFont property to null.
See Also getHeaderFont