Hi,
We are currently using the XamDockManager but would like to limit the possibilities with respect to docking. It should only be possible to dock in the Centre. Is it a way of permanently ( preferably using xaml) to hide the other docking options? What is the best ( and simplest) way of doing this?
Best regards,
Rune
I'm not sure what you mean by center. Are you using a DocumentContentHost and you want to allow a ContentPane to either be floating or a tabbed document? If so then you might set the AllowDockingLeft, AllowDockingTop, etc. to false.
Yes we are using a DocumentContentHost but the AllowDockingLeft, AllowDockingTop etc, will not help us. It will prevent the user from docking but the DockingIndicator will still show the posibility and confuse the user. We would like to only show the "Center" part of the DockingIndicator and thus only allow docking as a tabbed document.
I have reteplated the DockingIndicator and that work well.
Thx,
You might be able to retemplate the DockingIndicator element taking the default styles we ship with the control and changing it based on what you need. Another option is to look at an approach like what Stefan described in this thread.