In WPF, you can detect whether it is showing in design mode using
DesignerProperties.GetIsInDesignMode
What's the equivalent in Avalonia UI
In WPF, you can detect whether it is showing in design mode using
DesignerProperties.GetIsInDesignMode
What's the equivalent in Avalonia UI