Describe the bug
There seems to be an issue where DialogHost of a content dialog is deprecated, but the new solution of DialogHostEx does not work when I replace it.
To Reproduce
dialog.DialogHost = Presenter;
See deprecation warning
However
ContentDialogService dialogService = new();
dialog.DialogHostEx = dialogService.GetDialogHostEx();
returns a runtime error.
Expected behavior
Either the deprecation warning to go away, or the new way of setting DialogHostEx to work without crash.
Screenshots
No response
OS version
Windows 11 26100.1.arm64
.NET version
net10
WPF-UI NuGet version
4.2.0
Additional context
No response
Describe the bug
There seems to be an issue where
DialogHostof a content dialog is deprecated, but the new solution ofDialogHostExdoes not work when I replace it.To Reproduce
See deprecation warning
However
returns a runtime error.
Expected behavior
Either the deprecation warning to go away, or the new way of setting DialogHostEx to work without crash.
Screenshots
No response
OS version
Windows 11 26100.1.arm64
.NET version
net10
WPF-UI NuGet version
4.2.0
Additional context
No response