diff --git a/samples/ControlCatalog/MainView.xaml b/samples/ControlCatalog/MainView.xaml index 377871f658..87cb5e9c5c 100644 --- a/samples/ControlCatalog/MainView.xaml +++ b/samples/ControlCatalog/MainView.xaml @@ -2,9 +2,9 @@ xmlns:pages="clr-namespace:ControlCatalog.Pages" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> - + - + diff --git a/samples/ControlCatalog/Pages/CarouselPage.xaml b/samples/ControlCatalog/Pages/CarouselPage.xaml index 4a5b2cea26..3468b71fd8 100644 --- a/samples/ControlCatalog/Pages/CarouselPage.xaml +++ b/samples/ControlCatalog/Pages/CarouselPage.xaml @@ -8,9 +8,9 @@ - + - + diff --git a/samples/ControlCatalog/Pages/CarouselPage.xaml.cs b/samples/ControlCatalog/Pages/CarouselPage.xaml.cs index 272290e679..5e24bfb58f 100644 --- a/samples/ControlCatalog/Pages/CarouselPage.xaml.cs +++ b/samples/ControlCatalog/Pages/CarouselPage.xaml.cs @@ -37,13 +37,13 @@ namespace ControlCatalog.Pages switch (_transition.SelectedIndex) { case 0: - _carousel.Transition = null; + _carousel.PageTransition = null; break; case 1: - _carousel.Transition = new PageSlide(TimeSpan.FromSeconds(0.25), _orientation.SelectedIndex == 0 ? PageSlide.SlideAxis.Horizontal : PageSlide.SlideAxis.Vertical); + _carousel.PageTransition = new PageSlide(TimeSpan.FromSeconds(0.25), _orientation.SelectedIndex == 0 ? PageSlide.SlideAxis.Horizontal : PageSlide.SlideAxis.Vertical); break; case 2: - _carousel.Transition = new CrossFade(TimeSpan.FromSeconds(0.25)); + _carousel.PageTransition = new CrossFade(TimeSpan.FromSeconds(0.25)); break; } } diff --git a/samples/ControlCatalog/SideBar.xaml b/samples/ControlCatalog/SideBar.xaml index 7fcd828ba3..e5baf9e942 100644 --- a/samples/ControlCatalog/SideBar.xaml +++ b/samples/ControlCatalog/SideBar.xaml @@ -1,4 +1,5 @@ - + + + diff --git a/samples/RenderTest/App.xaml.cs b/samples/RenderTest/App.xaml.cs index 4492e5ae4c..fd2b940f6a 100644 --- a/samples/RenderTest/App.xaml.cs +++ b/samples/RenderTest/App.xaml.cs @@ -2,6 +2,7 @@ // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia; +using Avalonia.Logging.Serilog; using Avalonia.Markup.Xaml; namespace RenderTest @@ -12,5 +13,17 @@ namespace RenderTest { AvaloniaXamlLoader.Load(this); } + + // TODO: Make this work with GTK/Skia/Cairo depending on command-line args + // again. + static void Main(string[] args) => BuildAvaloniaApp().Start(); + + // App configuration, used by the entry point and previewer + static AppBuilder BuildAvaloniaApp() + => AppBuilder.Configure() + .UsePlatformDetect() + .UseReactiveUI() + .LogToDebug(); + } } diff --git a/samples/RenderTest/MainWindow.xaml b/samples/RenderTest/MainWindow.xaml index ce8fd3a43e..da49054b77 100644 --- a/samples/RenderTest/MainWindow.xaml +++ b/samples/RenderTest/MainWindow.xaml @@ -24,9 +24,9 @@ - + - + diff --git a/samples/RenderTest/Pages/AnimationsPage.xaml b/samples/RenderTest/Pages/AnimationsPage.xaml index 6eb7067245..415c08728f 100644 --- a/samples/RenderTest/Pages/AnimationsPage.xaml +++ b/samples/RenderTest/Pages/AnimationsPage.xaml @@ -1,2 +1,123 @@ - + + + + + + + + + + + + + + + + + + + Hover to activate Transform Keyframe Animations. +