Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Docking > Event for when any layout changed have occurred

Not answered Event for when any layout changed have occurred

Feed from this thread
  • Brian avatar

    Posted on Aug 17, 2011 (permalink)

    I am trying determine if I need to save the layout for my Docking control due to a layout change by the user.  I have tried a handful of events to make this happen but none are working the way I think they should. 

    RadDocking - LayoutUpdated event - fired whether the user makes a change to the layout or not
    RadDocking - LayoutChangeStarted event - NOT fired if I simply move a pane around, but is fired if I change a SplitContainer
    RadDocking - LayoutChangeEnded event - NOT fired if I simply move a pane around, but is fired if I change a SplitContainer

    Is there an event that tells me if any changes were made to the layout whether they be panes being moved around OR SplitContainers being changed?

    Tks.

    Reply

  • Miroslav Nedyalkov Miroslav Nedyalkov admin's avatar

    Posted on Aug 22, 2011 (permalink)

    Hi Brian,

     The LayoutUpdated method comes from the framework and is fired whenever Silverlight detects that the layout was changed which is much more frequently than the Docking control's layout is updated. We don't recommend you to use this event.
    The LayoutChangeStarted and LayoutChangeEnded events are fired when the layout of the Docking control is changing which doesn't actually happen when you are dragging already floating pane. The ToolWindow control also has these events so you could use them to handle all the situations.

    You could also use the PaneStateChanged event of the Docking control in combination with the some of the events of the ToolWindow - LocationChanged, SizeChanged, LayoutChangeStarted, LayoutChangeEnded.

    Hope this information is helpful.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Docking > Event for when any layout changed have occurred
Related resources for "Event for when any layout changed have occurred"

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