简体   繁体   中英

WP8 how to interact with controls in other screens

how can I interact with controls/objects, ie changing a property or firing a method, which are located in another screen/class using C# for Windows Phone 8? Thanks in advance!

Sorry for posting this as an answer I don't have enough reputation for this. What you can do is use the PhoneApplicationService.State that is a dictionnary where you can store any object. The data remains here until you leave the application.

Here is the documentation of the dictionary

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM