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

Metro form border

hello,

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

thank you


Attachment: syncfusionquery_febbfddf.rar

1 Reply

MK Mallika Kannan Syncfusion Team July 21, 2017 07:11 AM UTC

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    



Loader.
Live Chat Icon For mobile
Up arrow icon