AvaloniaVS icon indicating copy to clipboard operation
AvaloniaVS copied to clipboard

d:DesignWidth and d:DesignHeight not working in the designer

Open Shayan-To opened this issue 3 years ago • 1 comments

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.

image

Shayan-To avatar Nov 10 '20 05:11 Shayan-To

This has already been fixed and is waiting for a backport https://github.com/AvaloniaUI/Avalonia/pull/4433

rstm-sf avatar Nov 12 '20 17:11 rstm-sf

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.

a44281071 avatar May 26 '23 08:05 a44281071