Click here to Skip to main content
15,849,678 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi, I'm trying to run code when windows become activated, and following this link https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/app-lifecycle
this article does not providing me a example regarding when windows becomes activated or focused. can any one teach me that how can i apply my code when windows becomes activated. I could not find relevant example. any help is much appreciated.
regards

What I have tried:

C#
//unfortunately could'nt figure it out
Posted
Updated 4-Jul-23 5:27am

1 solution

 
Share this answer
 
Comments
suhail malik 2023 4-Jul-23 12:36pm    
yes this is what i am studying since last day but how can i implement activated event in details page 🤔
Graeme_Grant 4-Jul-23 12:44pm    
That page has all of the information that you need to answer your question. Sample code included.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900