Unable to use PopupPage for more extensions methods #3055
Closed
dartasen
started this conversation in
New Feature Discussions
Replies: 1 comment 1 reply
-
|
We added an protected override async void OnNavigatedFrom(NavigatedFromEventArgs args)
{
base.OnNavigatedFrom(args);
if (args.IsDestinationPageACommunityToolkitPopupPage())
{
await Toast.Make("Opening Popup").Show();
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there !
NavigatedToEventArgsdo have aWasPreviousPageACommunityToolkitPopupPageextensions method in the toolkit :However

NavigatedFromEventArgsdoesn't have such extension method.Prior to MAUI 10 this event was useless because the event args was empty. However now we have those informations available :
I wanted to create a new extension method using DestinationPage is PopupPage, however the type is not available.
Beta Was this translation helpful? Give feedback.
All reactions