#Windows10 – Disable the #SurfaceDial global menu in a UWP App


Today’s post is a fast one, for a specific scenario:

In a Universal Windows Platform App, we must define whether to show or hide the menus when working with a Surface Dial.

To do this, we must access the general configuration of Surface Dial using RadialControllerConfiguration.

The following class shows an example of a global service for a UWP with an operation where this value is validated from the settings of an App.

using Windows.UI.Input;
using SurfaceDialApp01.Views;
namespace SurfaceDialApp01.Services
public static class SurfaceDialService
public static async void InitSurfaceDialMenu()
var surfaceDialConfiguration = RadialControllerConfiguration.GetForCurrentView();
var ret = await SettingsPage.GetIsSurfaceDialMenuEnabled();
surfaceDialConfiguration.IsMenuSuppressed = !ret;

In the GitHub example you can see the complete operation. In short, the option to use or not, the menus of Surface Dial are defined through the settings of the App.


Source Code GitHub

Happy Coding !!!

Saludos @ Toronto

El Bruno