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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set Undocked / Floating Window Border width

Thread ID:





125284 Aug 5,2016 03:09 AM UTC Aug 11,2016 03:54 AM UTC WinForms 3
Tags: DockingManager
Eric Robishaw
Asked On August 5, 2016 03:09 AM UTC

Undocked  / fLoating windows created using the dockingmanager have really tiny, maybe 2 pixel border for grabbing / resizing. 

It's way to small for my application, especially over remote desktop it becomes impossible to grab the edge.

I find no properties of the dockingmanager control that establish the border... are there any settings for this? Or is this left up to the OS?

Senthil Kumaran Rajan [Syncfusion]
Replied On August 5, 2016 08:39 AM UTC

Hi Eric, 
Thanks for contacting Syncfusion Support. 
We can achieve this requirement by applying the MetroStyle in DockingManager and customizing the border width by using the property MetroBorderWidth. Please make use of the below code example. 
Code Example[C#]: 
//To change the visual Style of dockingManager 
this.dockingManager1.VisualStyle = Syncfusion.Windows.Forms.VisualStyle.Metro; 
//To change the width of the MetroBorder when window is in floating state. 
this.dockingManager1.MetroBorderWidth = 10; 
We have prepared the sample for your reference and it can be downloaded from the below location.  
Please refer the below screenshot for further reference. 
Could you please check with the above solution and let us know whether the provided solution is helpful? If not, please share us some additional details about the reported requirement. It will be helpful for us to analyze and provide an appropriate solution at the earliest.    

Eric Robishaw
Replied On August 10, 2016 05:57 PM UTC

That was exactly what I needed.


Senthil Kumaran Rajan [Syncfusion]
Replied On August 11, 2016 03:54 AM UTC

Hi Eric, 
Thank you for your update. 
Please let us know if you need further assistance. 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon