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.

Programatically set docked control width

Thread ID:





4827 Jun 3,2003 11:17 AM Jun 6,2003 09:50 AM Windows Forms 1
Tags: Tools
Sean Greer
Asked On June 3, 2003 11:17 AM

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 09:50 AM

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.

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.