Ghost1372

everything can be handy

ContentDialogExtensions

Methods

Name
ShowAsWindowAsync

Example

1
2
3
4
5
6
7
8
9
10
ContentDialog dialog = new()
{
Title = "Title",
Content = "Content",
PrimaryButtonText = "Primary",
SecondaryButtonText = "Secondary",
CloseButtonText = "Close"
};

await dialog.ShowAsWindowAsync();

DevWinUI

Demo

you can run demo and see this feature.

0%