Moving To XAML example code