Avalonia contentcontrol example. Headless is used to test a running application.