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

SplitContainer Menus

5 Answers 114 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Bilal Haidar
Top achievements
Rank 2
Bilal Haidar asked on 02 Apr 2009, 03:24 PM
Dears,
I am exploring Silverlight controls, currently the Docking controls. I am trying to hide the "X", and any other icons on the header of a SplitContainer so that I can build a simple Layout with only one SplitContainer on the left and a DocumentHost serving as an Outlook layout.

Is there a way to control those menus?

Thanks

5 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 06 Apr 2009, 09:01 AM
Hello Bilal Haidar,

This menu is contained within the PaneGroup control, not by the SplitContainer and it is updated when the selected pane in the group is changed. The "X" button is hiding when the selected pane has its CanUserClose property set to False and the pin button is hiding when the selected pane has itsCanUserPin property set to False.
Hope this information helps.

All the best,
Miroslav Nedyalkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Bilal Haidar
Top achievements
Rank 2
answered on 06 Apr 2009, 01:15 PM
This information is amazing!

I got that information later when I started exploding it more and more.

One question though, what about the "down arrow" menu. Is it possible to hide it? (I was able to show it only with the "dockable" selected). Is it possible to remove it from the display?

Regards
0
Miroslav Nedyalkov
Telerik team
answered on 06 Apr 2009, 03:58 PM
Hi Bilal Haidar,

To remove the menu you need to remove all its items. We still haven't implemented an easy way to do this, but you can do it by clearing the MenuCommands collection of each pane.

Kind regards,
Miroslav Nedyalkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Bilal Haidar
Top achievements
Rank 2
answered on 06 Apr 2009, 08:38 PM
Cool, works fine.

Just one more question, is it possible to not to allow the user to click and drag a pane and place it in a different area?

Thanks
0
Miroslav Nedyalkov
Telerik team
answered on 07 Apr 2009, 07:12 AM
Hi Bilal Haidar,

We are working on this and it will be included in SP1. You will be able to do this by setting the CanFloat property to false.

Regards,
Miroslav Nedyalkov
Tags
Docking
Asked by
Bilal Haidar
Top achievements
Rank 2
Answers by
Miroslav Nedyalkov
Telerik team
Bilal Haidar
Top achievements
Rank 2
Share this question
or