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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set Font Style of Cell in GridGropingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

73070 Apr 18,2008 12:25 PM UTC Apr 24,2008 12:52 AM UTC WinForms 1
loading
Tags: GridControl
Puneet
Asked On April 18, 2008 12:25 PM UTC

For GridControl, I know how to get a particular cell using RowIndex and ColumnIndex. And then apply the font settings like Bold, italic ect.

e.g
grdCtrl[row, col].Font.Bold = true;


Now my question is, how I can get a cell and apply these font properties for GridGroupingControl ?


Sri Rajan [Syncfusion]
Replied On April 24, 2008 12:52 AM UTC

Hi Puneet,

Thank you for your patience.

Please refer the below code to apply these font properties like bold,italic to a cell in GridGroupingControl.


void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
e.Style.Font.Bold = true;
e.Style.Font.Italic = true;
}


Please let me know if this helps.

Best Regard,
Srirajan



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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

;