简体   繁体   中英

Changing property on WPF control in another application?

Is it possible to change a value of a WinRT control in another application?

I am using a Windows Surface Pro 2, which uses Windows 8.1. this OS has a text prediction feature which requires the TextBox.IsTextPredictionEnabled property to be set to true. If this is set to false, then it will not use the text prediction.

Unfortunately for me, there are instances where the application developer thought it prudent to turn this feature off (default is on) and I disagree. I would like to change this. Is there a way?

没有.WinRT上的应用程序是严重沙盒的,所以没有直接的方法来影响其他应用程序。

As Euphoric said, there is no direct way to do that.

If I needed to change a properties (I'm talking about our own apps), maybe I can try to create a text file and read it with the other app, so with a few if condition I can change values by that text file. But both of your applications should be updated. If they are not our application there is no way to do that.

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