Question about Avalonia - C#