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. Image for the cookie policy date
close icon

Change font and color of a GroupViewItem

How can I change the font and color of a GroupViewItem? I want to do this regardless of the selection/hover state.

1 Reply

JS Jeba S Syncfusion Team July 26, 2007 03:48 AM UTC

Hi bert,

If you want to change the Font and ForeColor of a GroupViewItem without selecting or Mousehovering it, then please refer this code snippet:

//Setting Color and font for GroupViewItems
this.groupView1.ForeColor = Color.Blue;
this.groupView1.Font = new Font("Arial", 18);


Please refer the sample in the below link and let us know if this helps.
http://websamples.syncfusion.com/samples/Tools.Windows/F64805/main.htm

Thank you for using Syncfusion Products.

Best Regards,
Jeba.


Loader.
Live Chat Icon For mobile
Up arrow icon