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
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
0
Accepted
Hello Bilal Haidar,
All the best,
Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
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
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
Hi Bilal Haidar,
Kind regards,
Miroslav Nedyalkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
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
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