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

Root Compass Events VS. Compass Events

3 Answers 79 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 16 Jun 2011, 08:42 PM
In telerik:RadDocking, we can either specify in XAML or in CS if we want to turn off/hide items on the compass. Unfortunately what I want to do doesnt seem to be so straight forward.
 
Is it possible to either remove items from the central docking preview, while leaving their counterpart on the outer docking preview? (Ie remove the left arrow on the center of the screen but keep the left arrow on the left edge of the window). This would be much easier if i could insert an image in the code snippet!

Anyway, if this cannot be done, for any reason, an alternate solution that would help my cause would be a code behind solution maybe in the PreviewWindowClose event or something, so that I could just tie the two compass events together, ie the center of the window left facing dock arrow would dock the panel on the left edge of the screen, in the same place that the left dock arrow on the edge of the screen would dock it.

Any tips or hints to get me going in the right direction here would be greatly appreciated, thanks!

 

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 20 Jun 2011, 02:25 PM
Hello Chris,

I can suggest you to implement conditional docking. You can find more information in this help article.

Hope this helps.

Greetings,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chris
Top achievements
Rank 1
answered on 22 Jun 2011, 02:14 PM
Thanks for answering,

Hm I have reviewed the conditional docking but im afraid I didnt really explain myself well enough as thats not what I am looking for. (It doesn't explain why the event is the same for both right arrows, although they dock in different locations) - I need to remove inner right arrow, not far right arrow so e.Compass.IsRightIndicatorVisible = false wont work for me (that would do both when i just want one of these arrows removed).

Thanks hope I explained my question better this time =/
0
Konstantina
Telerik team
answered on 24 Jun 2011, 09:56 AM
Hello Chris,

You can find some more information about this approach and also a sample application in this blog post.

If you still are not able to achieve your goal, could you please send us a screenshot pointing which arrows exactly you want to remove.

All the best,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Chris
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Chris
Top achievements
Rank 1
Share this question
or