Currently, to set the theme of ContentDialog, we need to manually set the theme by
var dialog = new ContentDialog() { XamlRoot = Content.XamlRoot };
...
dialog.RequestedTheme = Light/Dark/Default;
...
So, we need an extra overload of the method ShowMessageDialogAsync method, with an optional parameter theme, the default value of which is ElementTheme.Default.
Currently, to set the theme of
ContentDialog
, we need to manually set the theme bySo, we need an extra overload of the method
ShowMessageDialogAsync
method, with an optional parametertheme
, the default value of which isElementTheme.Default
.