In this case, instead of setting Z-Index you can just have the Canvas as the last item in the XAML (further down the page is higher on the UI) and it will naturally be on top of all the existing elements, but still be underneath any MessageBox.
I've written a demo that better explains it (attached). See my code comments on MainPage.xaml
and run it without the debugger attached
. In it I use a RadBusyIndicator
that is on top of the other elements on the page, clicking the left appbar button will show/hide the BusyIndicator which effectively blocks/unblocks the UI elements and clicking the right appbar button will trigger an exception.
When the exception is unhandled, you'll see the RadDiagnostics appear on top of everything else.
Final Note: One of the advantages to the IsRunning
property of the BusyIndicator is that it also handles the Visibility property, allowing you to block/unblock the UI. This way, you don't need the canvas. You'll see this in the demo.
This should have you up and running, but if you're still having trouble, send me the code that you're using for that view (or update my demo with your code) and I'll investigate further.
Senior Support Specialist
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.