AvaloniaVS
AvaloniaVS copied to clipboard
d:DesignWidth and d:DesignHeight not working in the designer
Width
, Height
, and d:DataContext
work perfectly well, but d:DesignWidth
and d:DesignHeight
are not working in the designer. It works as if no width or height is set.
This has already been fixed and is waiting for a backport https://github.com/AvaloniaUI/Avalonia/pull/4433
This attributes is obsolete. In WPF, we can use d:Height or d:Width and all other attributes: add letters at the beginning of a attribute.