Pin/AutoHide ToolWindowContainer w/ DataBinding?

Docking/MDI for WPF Forum

Posted 9 years ago by Justin Klein
Version: 15.1.0624
Avatar

What is the proper way to pin/AutoHide a ToolWindowContainer via DataBinding?

 

If a container is in <actidock:DockSite.AutoHideLeftContainers>, it'll be in AutoHide state on program launch - but I can't figure out how to pin it.  Conversely, if added just via a regular SplitContainer, it'll start 'Pinned' - but I can't figure out how to un-pin.  The "State" property is missing a setter, & I wasn't able to dig up much else - what's the best way to switch states programmatically without breaking MVVM?

 

Thanks :)

Comments (2)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Justin,

As part of the MVVM improvements we made for the upcoming 2016.1 version, the ToolWindow class has a settable State property.  You will be able to bind to that property in that version.  Sorry but there isn't a similar settable property in 2015.1.


Actipro Software Support

Posted 9 years ago by Justin Klein
Avatar

Alrighty, added to my ever-increasing vNext todo list :)

The latest build of this product (v24.1.3) 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.