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

Disable center compass indicator on DocumentHost

2 Answers 96 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Buzz
Top achievements
Rank 1
Buzz asked on 20 Jan 2011, 09:03 PM
When dragging a pane to be docked, I'd like to disable the center compass indicator.
How can I do this?
I'm handling PreviewShowCompass, but I'm not sure how I can use this.  I see TargetGroup in the PreviewShowCompassEventArgs argument, but I don't see how to use this to my advantage yet.

I'm not sure if it matters, but my DocumentHost does not contain any DocumentPanes, but rather a ContentControl whose ContentTemplate is basically a RadTileView.  The tile view is only populated programmatically by me.
I don't necessary need to use a DocumentHost.  I just used it for it's ability to automatically fill the space in the RadDocking.

Thanks for any help!
Buzz

2 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 26 Jan 2011, 09:14 AM
Hello Buzz,

Please, refer to our online documentation - http://www.telerik.com/help/wpf/raddocking-features-compass.html

I hope this helps.
 

Kind regards,
George
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Buzz
Top achievements
Rank 1
answered on 26 Jan 2011, 02:41 PM
George,

Your suggestion in my support ticket did the trick.
For anyone else:

RadPane.CanDockInDocumentHost="False".

Or to apply to all RadPanes:
<Style TargetType="telerik:RadPane">
           <SetterProperty="CanDockInDocumentHost"Value="False"/>
</Style>

Buzz
Tags
Docking
Asked by
Buzz
Top achievements
Rank 1
Answers by
George
Telerik team
Buzz
Top achievements
Rank 1
Share this question
or