LayoutInformation.GetLayoutExceptionElement Method (Dispatcher)
Returns a UIElement that was being processed by the layout engine at the moment of an unhandled exception.
Assembly: PresentationFramework (in PresentationFramework.dll)
You can view the result of this operation from an application exception handler to fix problems in the layout of an application.
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0