This is a migrated thread and some comments may be shown as answers.

Docking and Ribbon

1 Answer 90 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Jurjen Ladenius
Top achievements
Rank 2
Jurjen Ladenius asked on 07 Mar 2011, 11:31 AM
Hi,

I can't find the solution to the following problems: 

I have a RadDocking and a Ribbon on my form, and what I'd like to achieve is :
  • I only want floating and document windows, I can find an article on how to remove the documenthost, but I would very much like similar behaviour to VS2010, where I can't drag a code window outside of the documenthost unless it's floating;
  • Whenever a pane (floating or docked) is selected, I want the ribbon to show a contextual tab, based on the type of content. I know how to create a contextual tab, but I do have a problem finding the right docking related event to find the selected pane.

Can anyone tell me how to achieve these goals?

Kind regards,

Jurjen

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 10 Mar 2011, 11:19 AM
Hello Jurjen,

 The first thing you need is not supported out-of-the-box, but you could achieve it using constraints on the compass. For more information about how to achieve this you could refer to the following article: http://www.telerik.com/help/wpf/raddocking-how-to-implement-conditional-docking.html.

To implement the second thing you need a feature that we are currently working on - tracking of Active pane. You could try to track it yourself using the RadTabControl.SelectionChangedEvent routed event to track selection changes in the PaneGroups and the currently focused PaneGroup.

Hope this helps!

Greetings,
Miroslav Nedyalkov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Docking
Asked by
Jurjen Ladenius
Top achievements
Rank 2
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or