Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change a property of a ViewItem #46

Open
spellizzari opened this issue Jan 24, 2022 · 0 comments
Open

How to change a property of a ViewItem #46

spellizzari opened this issue Jan 24, 2022 · 0 comments
Assignees

Comments

@spellizzari
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants