The DataGrid does support or response to Custom Font set Using the ExportFont Attribute. But when a contentTemplate is used and a label control is place in it. The font shows on the label but not on the Header or Content of the Grid.
1 comment
ADMIN
Yana
Posted on:17 Aug 2020 15:17
Hello Oluwagbenga,
Indeed, DataGrid will not take into account the custom font - this is due to the fact that we're using Skiasharp library for rendering the DataGrid and Skia cannot properly apply the font. I've updated the status of this item to "Declined" as there is not suitable solution from our side.
As a workaround for the column headers you can set a template of your own with a Label element. For example instead of setting HeaderText: