Layout cycle exception when designer placed in ScrollViewer
Posted: Thu Dec 22, 2011 8:49 am
Hello,
we try to use the silverlight designer in our product. Therefore we place the designer in a scrollviewer due to some other requirements of the windows in our app.
Placed in a scrollviewer, de designer gets some strange behaviour, and it gives an LayoutCycleException when the zoom of the Preview is changed.
Please see the attached image for the strange position of the tabs in the ribbon.
I created a video which shows the crash when zooming the preview panel. It shows a blank screen (and has some poor quality, sorry for that), but with the debugger attached it gives an LayoutCycleException.
I created a little sample project with which you can reproduce the issue:
I used the pre release binaries of Dec 15th.
Regards.
we try to use the silverlight designer in our product. Therefore we place the designer in a scrollviewer due to some other requirements of the windows in our app.
Placed in a scrollviewer, de designer gets some strange behaviour, and it gives an LayoutCycleException when the zoom of the Preview is changed.
Please see the attached image for the strange position of the tabs in the ribbon.
I created a video which shows the crash when zooming the preview panel. It shows a blank screen (and has some poor quality, sorry for that), but with the debugger attached it gives an LayoutCycleException.
check the video: http://www.mediafire.com/?u1kbpj1u07801orSystem.Windows.LayoutCycleException: Layout cycle detected. Layout could not complete.
at TestApp.App.Application_UnhandledException(Object sender, ApplicationUnhandledExceptionEventArgs e)
at MS.Internal.Error.CallApplicationUEHandler(Exception e)
at MS.Internal.Error.CallAUEHandler(UInt32 hr, UInt32& bIsHandled)
I created a little sample project with which you can reproduce the issue:
I used the pre release binaries of Dec 15th.
Regards.