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.

Metro form border

Thread ID:

Created:

Updated:

Platform:

Replies:

131633 Jul 20,2017 08:34 AM Jul 21,2017 03:11 AM Windows Forms 1
loading
Tags: MetroForm
Francesc Esteban
Asked On July 20, 2017 08:34 AM

hello,

is there a way to avoid the metroform border like caption does ?

thank you


Attachment: syncfusionquery_febbfddf.rar

Mallika Kannan [Syncfusion]
Replied On July 21, 2017 03:11 AM

Hi Francesc   
   
Thank you for contacting Syncfusion Support.   
   
This reported space is maintained to avoid cropping of its MetroForm appearance in maximized state and to ease resizing behavior in Normal state. This space has to be maintained. Please refer to this below screenshot.    
   
Screenshot    
    
      
   
We can a provide work around to hide this White background by setting MetroForm Backcolor same as Panel/container control Backcolor. Please make use of the below code example.     
   
Code example    
   
//Set the back color of and Panel 
this.panel1.BackColor = System.Drawing.Color.Maroon;  
 
public Form1()  
 
       InitializeComponent();  
       //Set the back color of MetroForm  
       this.BackColor = Color.Maroon;  
  
 
  
   
We have prepared a sample and screenshot for your reference and it can be downloaded from the below link.    
   
Screenshot   
   
    
    
Sample: MetroFormSample    
     
Kindly check the above solution and let us know if it was helpful.   
   
Regards,    
Mallika    



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.

;