I'm porting a custom AdornerProvider to the new XAML designer, and I need to change the value of a dependency property on the control instantiated on the view (that is, in the isolated surface), without changing it in the code. If I set that property through ModelItem, it updates the XAML document's source code, which I don't want.
In the older architecture I could use View.PlatformObject to directly manipulate the view but that's not an option now. What can I do?
I'm porting a custom AdornerProvider to the new XAML designer, and I need to change the value of a dependency property on the control instantiated on the view (that is, in the isolated surface), without changing it in the code. If I set that property through ModelItem, it updates the XAML document's source code, which I don't want.
In the older architecture I could use View.PlatformObject to directly manipulate the view but that's not an option now. What can I do?