From ce82ac235bded01f8bc2f2b6ff64a5b0574998b9 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Fri, 22 Sep 2023 01:12:24 +0200 Subject: [PATCH] [Various] Sample tweaks (#231) * Improving Staggered samples * Other minor sample tweaks * Adding icon and tweaking staggered md * Adding TextBoxExtension samples * XAML styling --- .../samples/CameraPreviewSample.xaml | 5 +- .../SmoothScrollIntoViewSample.xaml.cs | 2 +- .../Extensions/samples/TextBoxExtensions.md | 123 +++--------------- .../TextBoxExtensions/RegexSample.xaml | 104 +++++++++++++++ .../TextBoxExtensions/RegexSample.xaml.cs | 14 ++ .../SurfaceDialOptionsSample.xaml | 26 ++++ .../SurfaceDialOptionsSample.xaml.cs | 14 ++ .../TextBoxExtensions/TextBoxMaskSample.xaml | 57 ++++++++ .../TextBoxMaskSample.xaml.cs | 14 ++ .../Helpers/samples/CameraHelperSample.xaml | 5 +- .../ImageCropper/samples/ImageCropper.md | 2 - .../samples/MetadataControlSample.xaml.cs | 6 +- .../samples/Assets/StaggeredLayout.png | Bin 0 -> 3329 bytes .../samples/Primitives.Samples.csproj | 4 + .../Primitives/samples/StaggeredLayout.md | 19 +++ .../samples/StaggeredLayoutSample.xaml.cs | 2 +- .../Primitives/samples/StaggeredPanel.md | 17 +++ .../samples/StaggeredPanelSample.xaml | 49 +++++++ .../samples/StaggeredPanelSample.xaml.cs | 30 +++++ .../Primitives/samples/StaggeredSamples.md | 40 ------ 20 files changed, 377 insertions(+), 156 deletions(-) create mode 100644 components/Extensions/samples/TextBoxExtensions/RegexSample.xaml create mode 100644 components/Extensions/samples/TextBoxExtensions/RegexSample.xaml.cs create mode 100644 components/Extensions/samples/TextBoxExtensions/SurfaceDialOptionsSample.xaml create mode 100644 components/Extensions/samples/TextBoxExtensions/SurfaceDialOptionsSample.xaml.cs create mode 100644 components/Extensions/samples/TextBoxExtensions/TextBoxMaskSample.xaml create mode 100644 components/Extensions/samples/TextBoxExtensions/TextBoxMaskSample.xaml.cs create mode 100644 components/Primitives/samples/Assets/StaggeredLayout.png create mode 100644 components/Primitives/samples/StaggeredLayout.md create mode 100644 components/Primitives/samples/StaggeredPanel.md create mode 100644 components/Primitives/samples/StaggeredPanelSample.xaml create mode 100644 components/Primitives/samples/StaggeredPanelSample.xaml.cs delete mode 100644 components/Primitives/samples/StaggeredSamples.md diff --git a/components/CameraPreview/samples/CameraPreviewSample.xaml b/components/CameraPreview/samples/CameraPreviewSample.xaml index 55dc1101..09c3bac8 100644 --- a/components/CameraPreview/samples/CameraPreviewSample.xaml +++ b/components/CameraPreview/samples/CameraPreviewSample.xaml @@ -1,4 +1,4 @@ - +