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.
Unfortunately, activation email could not send to your email. Please try again.

Modifying the rendering of controls like groupbox

Thread ID:

Created:

Updated:

Platform:

Replies:

129751 Apr 1,2017 12:09 AM Apr 4,2017 01:23 AM Windows Forms 1
loading
Tags: MetroForm
Chris Bishop
Asked On April 1, 2017 12:09 AM

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

Kannan R [Syncfusion]
Replied On April 4, 2017 01:23 AM

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 


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.

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.

;