From 799692fb563be235c6a2abc503ffb9d32b733a9d Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 5 Mar 2022 10:51:52 +0100 Subject: [PATCH] Improve demo --- .../TransitioningContentControlPage.axaml | 67 +++++++++++++++---- ...ransitioningContentControlPageViewModel.cs | 51 +++++++++++++- 2 files changed, 101 insertions(+), 17 deletions(-) diff --git a/samples/ControlCatalog/Pages/TransitioningContentControlPage.axaml b/samples/ControlCatalog/Pages/TransitioningContentControlPage.axaml index 20cd78abd3..4e26141082 100644 --- a/samples/ControlCatalog/Pages/TransitioningContentControlPage.axaml +++ b/samples/ControlCatalog/Pages/TransitioningContentControlPage.axaml @@ -4,6 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:vm="using:ControlCatalog.ViewModels" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" + Height="{Binding $parent[ScrollViewer].Bounds.Height}" x:DataType="vm:TransitioningContentControlPageViewModel" x:CompileBindings="True" x:Class="ControlCatalog.Pages.TransitioningContentControlPage"> @@ -11,25 +12,63 @@ + + + + The TransitioningContentControl control allows you to show a page transition whenever the Content changes. - - - Select a transition - + + + + + + + + + + + + + + + - - + +