float sizing behavior

Docking/MDI for WPF Forum

Posted 13 years ago by Mary Fontana - Rudolph Technologies
Avatar
Is there a way set floatsizingbehavior.sizetocontent for all tool window in the xaml file?

Comments (3)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mary,

Sorry, no, we don't currently have an option to force the ToolWindows to size-to-content. You can only specify that value when calling the Float method directly.

I've added the forum post to the TODO item for that feature, so you'll be notified when it's completed.


Actipro Software Support

Posted 13 years ago by Mary Fontana - Rudolph Technologies
Avatar
How do I call the Float method on a ToolWindow after right click on the tool window's float menu item?
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mary,

You can customize any of the menus used by the DockSite, using the WindowContextMenu event. So could replace or update the existing Float menu entry, using a custom RoutedCommand (which calls Float with the SizeToContent parameter).


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.