Skip to content

Rework dialog closing on IsOpen = false#96

Merged
SKProCH merged 1 commit intomainfrom
reworkClosing
Dec 21, 2025
Merged

Rework dialog closing on IsOpen = false#96
SKProCH merged 1 commit intomainfrom
reworkClosing

Conversation

@SKProCH
Copy link
Member

@SKProCH SKProCH commented Dec 21, 2025

  • Add CanBeCancelled property to DialogClosingEventArgs
  • Move cancellable check to DialogClosingEventArgs.Cancel() method
  • Simplify (and potentially fix) host removing logic when all dialogs are closed by DialogHost.IsOpen = false

@SKProCH SKProCH self-assigned this Dec 21, 2025
@SKProCH SKProCH merged commit 44c6f5e into main Dec 21, 2025
@SKProCH SKProCH deleted the reworkClosing branch December 21, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant