From 9a5b2f464f97633806e1b917774aaa85947c4d88 Mon Sep 17 00:00:00 2001 From: Hanquez Steven Date: Sat, 16 Oct 2021 11:41:40 +0200 Subject: [PATCH 1/3] Added IsNullOrEmptyConverters Samples --- .../IsNotNullOrEmptyConverterPage.xaml | 29 ++++++++++++++--- .../IsNullOrEmptyConverterPage.xaml | 29 ++++++++++++++--- .../IsNullOrEmptyConverterViewModel.cs | 31 +++++++++++++++++++ 3 files changed, 81 insertions(+), 8 deletions(-) create mode 100644 samples/CommunityToolkit.Maui.Sample/ViewModels/Converters/IsNullOrEmptyConverterViewModel.cs diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNotNullOrEmptyConverterPage.xaml b/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNotNullOrEmptyConverterPage.xaml index 72a7ff7d12..ed43b33779 100644 --- a/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNotNullOrEmptyConverterPage.xaml +++ b/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNotNullOrEmptyConverterPage.xaml @@ -4,12 +4,33 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:mct="clr-namespace:CommunityToolkit.Maui.Converters;assembly=CommunityToolkit.Maui" xmlns:pages="clr-namespace:CommunityToolkit.Maui.Sample.Pages" + xmlns:vm="clr-namespace:CommunityToolkit.Maui.Sample.ViewModels.Converters" x:Class="CommunityToolkit.Maui.Sample.Pages.Converters.IsNotNullOrEmptyConverterPage"> + + + + + + + + - -