From 1d3e21e5a67208f5cb48eb34eb14e966687a2664 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Sun, 25 Aug 2024 22:58:48 +0800 Subject: [PATCH] feat: add new dialog samples. --- demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml | 83 +++++++++++++++++++ .../Dialogs/CustomDemoDialog.axaml.cs | 13 +++ .../Dialogs/CustomDemoDialogViewModel.cs | 59 +++++++++++++ .../Ursa.Demo/Dialogs/DefaultDemoDialog.axaml | 50 +++++++++++ .../Dialogs/DefaultDemoDialog.axaml.cs | 13 +++ .../Dialogs/DefaultDemoDialogViewModel.cs | 31 +++++++ demo/Ursa.Demo/Pages/DialogDemo.axaml | 10 --- .../ViewModels/DialogDemoViewModel.cs | 20 ++--- src/Ursa/Controls/Dialog/OverlayDialog.cs | 1 + 9 files changed, 259 insertions(+), 21 deletions(-) create mode 100644 demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml create mode 100644 demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml.cs create mode 100644 demo/Ursa.Demo/Dialogs/CustomDemoDialogViewModel.cs create mode 100644 demo/Ursa.Demo/Dialogs/DefaultDemoDialog.axaml create mode 100644 demo/Ursa.Demo/Dialogs/DefaultDemoDialog.axaml.cs create mode 100644 demo/Ursa.Demo/Dialogs/DefaultDemoDialogViewModel.cs diff --git a/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml b/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml new file mode 100644 index 0000000..b3f53eb --- /dev/null +++ b/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +