Skip to content

How to set the Dialog Service in wpf to have the same Background Mask as the Dialog Service in Xamarin.Forms? #3022

Answered by brianlagunas
apchenjun asked this question in WPF
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dansiegel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
WPF
Labels
None yet
2 participants