How to set the Dialog Service in wpf to have the same Background Mask as the Dialog Service in Xamarin.Forms? #3022
-
I want to set the Dialog Service in wpf to have the same Background Mask effect as the Dialog Service in Xamarin.Forms. |
Beta Was this translation helpful? Give feedback.
Answered by
brianlagunas
Dec 5, 2023
Replies: 1 comment
-
That's not how dialogs work in WPF. If you want this behavior, you'll need to manually add a mask layer to your view and change it's color/transparency when you show/hide the dialog. Or, you need to use a dialog control that isn't based on WPF Windows, but rather just a content control you embed in your view. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dansiegel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's not how dialogs work in WPF. If you want this behavior, you'll need to manually add a mask layer to your view and change it's color/transparency when you show/hide the dialog. Or, you need to use a dialog control that isn't based on WPF Windows, but rather just a content control you embed in your view.