Page 1 of 1

font changed for data gridview and it is not following the form's font

Posted: Mon Oct 15, 2018 5:20 am
by jsira2003@yahoo.com
I am not sure what happened but It seems I have changed the font my data grid's are using and I am not able to get the font to match what the form is using. It appears there are no properties on the datagridview to change the font. How am I able to change the font my datagridview's use? My form uses seguo ui and my datagrid's use consolas.

Thanks,
John

Re: font changed for data gridview and it is not following the form's font

Posted: Mon Oct 15, 2018 7:30 am
by davidc
The DataGridView should inherit the font style of the form by default, unless you changes the RowsDefaultCellStyle property or set the grid's Font property in your script.

https://info.sapien.com/index.php/guis/gui-controls/ambient-properties