Ticket T241027
Visible to All Users

How to make column header font BOLD

created 10 years ago (modified 10 years ago)

[DevExpress Support Team: CLONED FROM T240825: Highlight filter row (row below the header)]
Hi Team,

Could you please also let me know how could i make column header  font BOLD?

Answers approved by DevExpress Support

created 10 years ago

Hello,

Please refer to this thread to learn how to customize a column header: T226286: How to customize column headers in one GridControl?

Drop me/us a line if you have another question.

Thanks,
Andrey

    Show previous comments (1)
    DevExpress Support Team 7 years ago

      Hello,

      To accomplish this task in a newer version (17.2), you can add the following implicit style to the GridControl's Resources:

      XAML
      <dxg:GridControl.Resources> <Style TargetType="dxg:GridColumn"> <Setter Property="HeaderStyle"> <Setter.Value> <Style TargetType="dxg:BaseGridHeader"> <Setter Property="FontWeight" Value="Bold"/> </Style> </Setter.Value> </Setter> </Style> </dxg:GridControl.Resources>

      Please try this solution and let me know your results.

      See also:
      HeaderStyle

      Thanks,
      Michael

        Thanks! That worked for me!

        DevExpress Support Team 7 years ago

          You're welcome!

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.