How to manage components with Avalonia - C#