how to set the size of Toolwindow's Width in Docked State.

Docking/MDI for WPF Forum

Posted 10 years ago by pratik
Version: 9.1.0506
Platform: .NET 3.5
Environment: Windows XP (32-bit)
Avatar
hello all,

i am dynamically adding the toolwindows to the docksite by simply passing dockSite in constructor of the Toolwindow.

i want to open two Toolwindow with proportion of 1:2 Width.

i tried to set the Size of the toolwindow by setting the AttachedProperty

As per Documentation and other posts DockSite.SetControlSize and DockSite.SetControlSizeForState before / After Dock state even in constructor of derived control from toolwindow but nothing seems working.

please help me to do the above.

Thank you in Advance,

REGARDS,
Pratik Gohil

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Pratik,

The latest build includes a new ResizeSlots method on SplitContainer, which allows you resize the controls in the SplitContainer. There is a documentation topic under "Actipro Dockingg & MDI\Layout, Globalization, and Accessbility Features\Programmatic Layout" that describes this feature. We also have a QuickStart that shows various ways to use this new method.

If you are having a problem specifically with DockSite.SetControlSize, then please put together a small sample project and email it over to our support address.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.