Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Docking > RadPane..MakeFloatingOnly() and title bar double click

Not answered RadPane..MakeFloatingOnly() and title bar double click

Feed from this thread
  • Jay avatar

    Posted on Jan 17, 2012 (permalink)

    I’m adding a RadPane to a RadSplitContainer in code.  After adding to the container, I set the pane to MakeFloatingOnly.  The RadPlane is in floating mode inside a ToolWindow, as expected.   However, when I double click on the title bar, it attempts to put the RadPane in a docking mode.  Also right clicking on the title bar provides an option of “Dockable”.

    Two questions:
    How to I keep a pane from being docked on double-click?
    What does MakeFloatingOnly actually do?

    Reply

  • Yana Yana admin's avatar

    Posted on Jan 20, 2012 (permalink)

    Hello Jay,

    When you make your pane floating using the MakeFloatingOnly() you will not be able to dock it back again using drag and drop. However, this method doesn't change the context menu of the pane, you can still open the menu and check Dockable item - then you will be able to dock the pane.
    I would suggest to check this help article where it is explained how to customize the context menu.

    Also when the title of the pane is double clicked, the pane is maximized. You can disable this behavior by setting ResizeMode of the ToolWindow holding the pane:

    pane.GetParentToolWindow().ResizeMode = ResizeMode.NoResize;

    All the best,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Docking > RadPane..MakeFloatingOnly() and title bar double click
Related resources for "RadPane..MakeFloatingOnly() and title bar double click"

Silverlight Docking Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]