We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I change a table wide default font style to bold?

Platform: WinForms |
Control: GridControl |
Published Date: April 30, 2011 |
Last Revised Date: February 12, 2016
Tags: styling

When an attribute of a cell’s style is not explicitly set for that cell, the unset attribute is inherited from the standard style, the column style, or the row style. For a cell that does not have the Font.Facename property set, the Font.Facename property of the row style is checked, then the column style, and finally the standard style. So, to change the default setting, you can change the setting to the standard style. The standard style is the basestyle stored within the grid’s basestyle.

C#

VB

After applying the properties, the output looks as follows:

Figure 1: Default style of the text set to bold

Sample Links

CS: Default font style

VB: Default font style

 

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon