Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prism v9.0.271 - Dialog Service #128

Merged

Conversation

DamianSuess
Copy link
Collaborator

Upgraded the Dialog Service to Prism v9.0.271 specs

Breaking Changes:

  • Namespace changed from Prism.Services.Dialogs to Prism.Dialogs.
  • IDialogAware property, RequestClose
    • Refactored from event to property (event Action<IDialogResult> RequestClose; -> DialogCloseListener RequestClose { get; })
    • Property is now read-only
  • IDialogService moved to Prism.Core
    • Deprecated void Show(...)
    • Deprecated void ShowDialog(Window owner, ...

Not Implemented

  • IDialogWindow.Style - Custom window styles are not implemented at this time.
  • DialogWindow.axaml.cs - Does not implement this.AttachDevTools(); at this time - would be helpful during debugging

…alogAware, IDialogServiceExtensions, and IDialogService. Added KnownDialogParameters.cs and IDialogServiceCompatExtensions.cs. Updated dialog sample for handling `RequestClose`
…howDialog() needs to return a `Task` not `bool?` like WPF
@DamianSuess DamianSuess added enhancement New feature or request Prism-v9.0.x-pre Prism v9.0.x Pre-Release labels Apr 8, 2024
@DamianSuess DamianSuess added this to the Prism 9.0.x milestone Apr 8, 2024
@DamianSuess DamianSuess self-assigned this Apr 8, 2024
@DamianSuess DamianSuess changed the title Dialog Service for Prism v9.0.271 Prism v9.0.271 - Dialog Service Apr 8, 2024
@DamianSuess DamianSuess merged commit d617fba into feature/Prism9x-v9.0.271 Apr 8, 2024
@DamianSuess DamianSuess deleted the feature/Prism9x-v9.0.271-Dialogs branch April 8, 2024 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Prism-v9.0.x-pre Prism v9.0.x Pre-Release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant