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.

Set Undocked / Floating Window Border width

Thread ID:





125284 Aug 4,2016 11:09 PM Aug 10,2016 11:54 PM Windows Forms 3
Tags: DockingManager
Eric Robishaw
Asked On August 4, 2016 11:09 PM

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 04:39 AM

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 01:57 PM

That was exactly what I needed.


Senthil Kumaran Rajan [Syncfusion]
Replied On August 10, 2016 11:54 PM

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.

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.