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.
Unfortunately, activation email could not send to your email. Please try again.

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

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

 

Article ID: Published Date: Last Revised Date: Platform: Control:
415 04/30/2011 02/12/2016 Windows Forms GridControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.