Visual Studio Designer doesn't update in real time with using Data template or Control Theme with string x:Key #19610
Unanswered
softinitializing
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When defining a ControlTheme/DataTemplate in Avalonia, the Visual Studio Designer updates in real time only if the theme is keyed by control type (
x:Key="{x:Type SomeControl}").If the theme or template uses a plain string key (e.g.
x:Key="SomeThemeStringKey"), the designer does not pick up changes in real time — a rebuild or running under the debugger is required before changes appear.Most of my xaml resources are defined in Resource Dictionary
axamlfiles then merged in App resources with "ResourceDictionary.MergedDictionaries"Is this known issue or something i do wrong ?
Beta Was this translation helpful? Give feedback.
All reactions