These are chat archives for AvaloniaUI/Avalonia

9th
Feb 2018
Matthijs ter Woord
@mterwoord
Feb 09 2018 07:21
i'd say that's a difficult one to solve..
wpf and winforms designer face the same limitation
Steven Kirk
@grokys
Feb 09 2018 10:44
yeah, it's a problem inherent in the design of XAML frameworks IMO. markup and code are tightly coupled meaning that you can properly show markup without compiling
if you got rid of {x:Type} and {x:Static} you could probably do it, but then you'd be really limited as to what you could do
there are ways you could get around it, but we'd be moving a long way from WPF and UWP and people are asking us all the time to converge with those frameworks
so yeah, looks like that problem is here to stay
Matthijs ter Woord
@mterwoord
Feb 09 2018 10:56
@grokys not just xaml: winforms has same issue
Steven Kirk
@grokys
Feb 09 2018 10:59
yeah true
Matthijs ter Woord
@mterwoord
Feb 09 2018 11:00
i think pretty much all designers supporting usercontrols/custom controls have it..
Chris Pie
@kpietraszko
Feb 09 2018 12:57
Thanks for info guys, I've worked around this by using DataTemplate instead for fast preview