From 9b3be2d44e4c60214c3d5f7b99fe33b62ebb75f4 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Wed, 13 Nov 2024 00:31:15 +0800 Subject: [PATCH 1/4] feat: add DialogFocusHint attached property. --- demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml | 29 +++++++++++++++---- src/Ursa/AssemblyInfo.cs | 3 +- .../OverlayShared/OverlayDialogHost.Dialog.cs | 10 +++++-- .../OverlayShared/OverlayDialogHost.Drawer.cs | 9 +++++- src/Ursa/Helpers/FocusHelper.cs | 13 +++++++++ 5 files changed, 54 insertions(+), 10 deletions(-) create mode 100644 src/Ursa/Helpers/FocusHelper.cs diff --git a/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml b/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml index 3b38ce34..dc61a442 100644 --- a/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml +++ b/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml @@ -17,7 +17,10 @@ - + - + -