From 26eba8d80e16edb1ba5f269f2e38f344ff126423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Sun, 30 Jan 2022 23:41:39 +0100 Subject: [PATCH] Use ArrayList for items --- samples/ControlCatalog/Pages/ViewboxPage.xaml | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/samples/ControlCatalog/Pages/ViewboxPage.xaml b/samples/ControlCatalog/Pages/ViewboxPage.xaml index ac52a6d0ee..e7e3007d35 100644 --- a/samples/ControlCatalog/Pages/ViewboxPage.xaml +++ b/samples/ControlCatalog/Pages/ViewboxPage.xaml @@ -1,5 +1,6 @@ @@ -12,8 +13,8 @@ + Stretch="{Binding #StretchSelector.SelectedItem, FallbackValue={x:Static Stretch.Uniform}}" + StretchDirection="{Binding #StretchDirectionSelector.SelectedItem, FallbackValue={x:Static StretchDirection.Both}}"> @@ -25,21 +26,21 @@ - - - - - - - - + + + Uniform + UniformToFill + Fill + None + + - - - - - - + + + Both + DownOnly + UpOnly +