Quantcast
Channel: User Liyun Zhang - MSFT - Stack Overflow
Viewing all articles
Browse latest Browse all 444

Answer by Liyun Zhang - MSFT for .Net MAUI How to Detect ThemeChanged Real-Time?

$
0
0

You can use the following code to detect ThemeChanged Real-Time:

Application.Current.RequestedThemeChanged += (s, a) =>{    // Respond to the theme change};

For more information, you can refer to the official document about React to theme changes.


Viewing all articles
Browse latest Browse all 444

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>