Skip to content

Other Pages

These are uncategorized pages that could ease some parts of the UI development by providing ready to use solutions.

Widget error page

This page is a base class for error handling in a Frame. You can inherit from this class or use ready to use controls like the Connection error page.

It automatically retries every 30 seconds without the need of any user input. This is used for the Connection error page to automatically retry the connection.

Connection error page

This is a wrapper for the Connection error control.

Usage with navigation parameters

You need to enter a parameter of a type ConnectionErrorData when navigating to this page to make it work properly.

C#
var descEx = new DescribedException(exception: ex, description: "Something went wrong!");
var ced = new ConnectionErrorData(describedException: descEx,
                                  Frame: _containerPage.WeatherFrame,
                                  returnPageType: typeof(MyPage),
                                  returnPageParameter: _containerPage);

_containerPage.WeatherFrame.Navigate(typeof(ConnectionErrorPage), ced, new DrillInNavigationTransitionInfo());

To learn how to use the Described exception model, visit this page.

Released under CC-BY-4.0