Category "avaloniaui"

How to use WhenActivated with properties in avalonia

I am trying to use ReactiveUI along with Avalonia. Due to initialization order in Avalonia 0.10 preview following code fails: class ViewModel : IActivatableView

SetForegroundWindow on macOS using C#

On Windows I can set a window to be in foreground using this code: [DllImport("User32.dll")] public static extern bool SetForegroundWindow(IntPtr hWnd); ... var

Avalonia UserControl checking if it is visible before before acting on a timer

I have a loading overlay (with the View inheriting from UserControl and the ViewModel from ViewModelBase) that I display over the current window by putting usin

C# GUI Design for Mac Retina Displays

I'm using Avalonia UI to create an application that is available for both Windows as well as macOS, and have come across the issue that, when using a macOS devi