SplitContainer Menus

6 posts, 1 answers
  1. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 02 Apr 2009 Link to this post

    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
  2. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 06 Apr 2009 Link to this post

    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.
  3. DevCraft banner
  4. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 06 Apr 2009 Link to this post

    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
  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 06 Apr 2009 Link to this post

    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.
  6. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 06 Apr 2009 Link to this post

    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
  7. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 07 Apr 2009 Link to this post

    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
Back to Top
DevCraft banner