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

Modifying the rendering of controls like groupbox

I am looking at skinning a groupbox and noticed that if I place a groupbox on a MetroForm it is skinned different than if I just dropped it on a Form.  I am wondering what class / object is responsible for changing the look of  a groupbox and how I can have access to it so I can tweak the drawing of a groupbox some more.

Chris

1 Reply

KR Kannan R Syncfusion Team April 4, 2017 05:23 AM UTC

Hi Chris 
 
Thank you for contacting Syncfusion support. 
 
Microsoft GroupBox control Back Color will be transparent by default. So once it is added to Form, it takes Parent Form back color as its BackColor. In this case, MetroForm Back color will be white and so GroupBox is in white as well. And as Microsoft Form BackColor is Light Gray, GroupBox control will adopt its BackColor as Light Gray.  
 
We have not done any specific customization technique in this case. Kindly check with below screenshot and sample for your reference.  
 
Screenshot 
 
 
 
Sample: MetroForm 
 
Kindly check with above solution and let us know if it helps 
 
Regards 
Kannan 


Loader.
Up arrow icon