Skip to content

Popup V2 return data #2699

Closed Answered by bijington
filippomoretto asked this question in Q&A
Discussion options

You must be logged in to vote

It would be a lot easier to see your code but you are correct to use x:TypeArguments you must make sure that the .xaml.cs file also has its type defined as Popup, replacing T with your actual type.

You can see how we have done this here https://github.com/CommunityToolkit/Maui/blob/main/samples/CommunityToolkit.Maui.Sample/Views/Popups/ReturnResultPopup.xaml and with its associated C# file

https://github.com/CommunityToolkit/Maui/blob/main/samples/CommunityToolkit.Maui.Sample/Views/Popups/ReturnResultPopup.xaml.cs

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pictos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants