Maui
Maui copied to clipboard
[Popup] Add `ComplexPopup` to `CommunityToolkit.Maui.Sample`
Description of Change
This PR adds a more complex example of using a Popup that demonstrates the following:
- Constructor injection, passing in a parameter using Dependency Injection via
PopupService - Use the
Popup.Openedevent to trigger an action once the Popup appears - How to bind to
PopupOptions - How to return a result
PR Checklist
- [x] Has samples (if omitted, state reason in description)
- [x] Rebased on top of
mainat time of PR - [x] Changes adhere to coding standard
- [ ] Documentation created or updated: https://github.com/MicrosoftDocs/CommunityToolkit/pulls
Additional information
Let's add this sample to the Popup docs @bijington