Open Hakoyu opened 1 year ago
If the RequestMessage is used in the constructor, the xaml design view will not be displayed correctly.
No response
class ViewModel : ObservableRecipient { public ViewModel() { var str = WeakReferenceMessenger.Default.Send<RequestMessage<string>>(); } }
The design view is displayed normally
VS 2022
17.4.4
8.1.0
Yes, I'd like to be assigned to work on this item
Describe the bug
If the RequestMessage is used in the constructor, the xaml design view will not be displayed correctly.
Regression
No response
Steps to reproduce
Expected behavior
The design view is displayed normally
Screenshots
No response
IDE and version
VS 2022
IDE version
17.4.4
Nuget packages
Nuget package version(s)
8.1.0
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item