Welcome to the Xceed Community | Help
Community Search  
More Search Options

How to change rhe summar font to bold

Sort Posts: Previous Next
  •  01-31-2010, 4:17 AM Post no. 25591

    How to change rhe summar font to bold

    my code  is below. I want to make the summary in bold letter. Please help , I am new to Xceed.Thanks

    Dim sumRow As New SummaryRow()

    If GridControl1.HeaderRows.Count > 0 Then

    GridControl1.HeaderRows(0).Remove()

    End If

    GridControl1.HeaderRows.Add(sumRow)

    DirectCast(sumRow.Cells(5), SummaryCell).TitleFormat = "Total No Of Invoices"

    DirectCast(sumRow.Cells(5), SummaryCell).StatFunction = StatFunction.Count

    DirectCast(sumRow.Cells(23), SummaryCell).StatFunction = StatFunction.Sum

    DirectCast(sumRow.Cells(24), SummaryCell).StatFunction = StatFunction.Sum

    DirectCast(sumRow.Cells(25), SummaryCell).StatFunction = StatFunction.Sum

    Filed under: ,
  •  02-01-2010, 10:18 AM Post no. 25597 in reply to 25591

    Re: How to change rhe summar font to bold

    Hi,

    You can set a SummaryCell content to bold by assigning the desired value to its Font property as follow:

    gridElement.Font = New Font( gridElement.Font, gridElement.Font.Style Or FontStyle.Bold )

    The Information is also available on the online documentation at: http://doc.xceedsoft.com/products/Xceedgrid/Xceed.Grid~Xceed.Grid.GridElement~Font.html.

      

     


    Xceed - Software Developer and Technical Support
  •  02-01-2010, 10:45 AM Post no. 25598 in reply to 25597

    Re: How to change rhe summar font to bold

    Thanks Mohammad
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.