Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Docking > How to force docking, prevent floating pane

Not answered How to force docking, prevent floating pane

Feed from this thread
  • Henri avatar

    Posted on Jul 4, 2011 (permalink)

    Hi,

    How can I force the pane to be docked?
    So when the user drags the pane (it's floating), and releases the mouse,
    I want the pane to fly back in its original docked position when it would cause the pane to become undocked.
    (When mouse is released and docking hint is shown,then its the normal behaviour, the pane docks)
    Is this possible?

    Best regards,
    Henri

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Jul 7, 2011 (permalink)

    Hi Henri,

    You can set the CanFloat property of the Pane to False. In that way the user won't be able to drag the pane at all. Unfortunately, the scenario with the flying back to its original place is not possible.

    Hope this information helps.

    All the best,
    Konstantina
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

  • Henri avatar

    Posted on Jul 7, 2011 (permalink)

    Hi Konstantina,

    I am aware of the CanFloat property, but then the user cannot drag the pane to a new docking position.
    Is there no way to programmatically dock the pane when  the dragging action is ended and the pane has become a floating pane?
    (and re-dock it to its original docked position)
    Thanks in advance for your assistance,
    Henri

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Jul 18, 2011 (permalink)

    Hello Henri,

    As mentioned earlier, this cannot be achieved, as there is no way to know which was the original docked position as when the pane is dragged the group and the SplitContainers are created dynamically. You cannot find the real source SplitContainer as when dragged they are already moved out in a new one.

    Greetings,
    Konstantina
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

  • BENOIT CHEVALIER avatar

    Posted on Feb 7, 2012 (permalink)

    Hi,
    Is this still not possible ?

    Thx in advance

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Feb 10, 2012 (permalink)

    Hi Benoit,

    I am afraid this is still not possible. This issue is added in PITS - you can view it here. You can vote for it and track its status, when it is going to be implemented.

    Greetings,
    Konstantina
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Docking > How to force docking, prevent floating pane
Related resources for "How to force docking, prevent floating pane"

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