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

Programatically set docked control width

Thread ID:





4827 Jun 3,2003 03:17 PM UTC Jun 6,2003 01:50 PM UTC WinForms 1
Tags: Tools
Sean Greer
Asked On June 3, 2003 03:17 PM UTC

Hi, I have a GroupBar that is docked and in the NewDockStateEndLoad event of the DockManager, I want to set the width of the docked control (from settings persisted in a database). I am attempting to set the width via the .Width property on the GroupBar, but it does not appear to have an effect. Any thoughts? Regards, Sean

Prakash S [Syncfusion]
Replied On June 6, 2003 01:50 PM UTC

Hi Sean, Just updated your Direct-Trac support incident on the same question. Directly setting the control bounds will have no effect on dockable controls and the DockingManager.SetControlSize(Control, Size) method should be used for this purpose. Prakash Syncfusion


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon