diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNotNullOrEmptyConverterPage.xaml b/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNotNullOrEmptyConverterPage.xaml
index 72a7ff7d12..f67e90d563 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">
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNullOrEmptyConverterPage.xaml b/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNullOrEmptyConverterPage.xaml
index d895d0e94a..a45158f8bd 100644
--- a/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNullOrEmptyConverterPage.xaml
+++ b/samples/CommunityToolkit.Maui.Sample/Pages/Converters/IsNullOrEmptyConverterPage.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.IsNullOrEmptyConverterPage">
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/CommunityToolkit.Maui.Sample/ViewModels/Converters/IsNotNullOrEmptyConverterViewModel.cs b/samples/CommunityToolkit.Maui.Sample/ViewModels/Converters/IsNotNullOrEmptyConverterViewModel.cs
new file mode 100644
index 0000000000..ce29439f22
--- /dev/null
+++ b/samples/CommunityToolkit.Maui.Sample/ViewModels/Converters/IsNotNullOrEmptyConverterViewModel.cs
@@ -0,0 +1,9 @@
+using System;
+namespace CommunityToolkit.Maui.Sample.ViewModels.Converters;
+
+public class IsNotNullOrEmptyConverterViewModel : IsNullOrEmptyConverterViewModel
+{
+ public IsNotNullOrEmptyConverterViewModel()
+ {
+ }
+}
diff --git a/samples/CommunityToolkit.Maui.Sample/ViewModels/Converters/IsNullOrEmptyConverterViewModel.cs b/samples/CommunityToolkit.Maui.Sample/ViewModels/Converters/IsNullOrEmptyConverterViewModel.cs
new file mode 100644
index 0000000000..f3d4369232
--- /dev/null
+++ b/samples/CommunityToolkit.Maui.Sample/ViewModels/Converters/IsNullOrEmptyConverterViewModel.cs
@@ -0,0 +1,31 @@
+using System.Collections.ObjectModel;
+using Microsoft.Maui.Controls;
+using System.Windows.Input;
+using System.Collections.Generic;
+
+namespace CommunityToolkit.Maui.Sample.ViewModels.Converters;
+
+public class IsNullOrEmptyConverterViewModel : BaseViewModel
+{
+ string? selectedItem;
+
+ public IsNullOrEmptyConverterViewModel() => ClearSelectionCommand = new Command(() => SelectedItem = null);
+
+ public IReadOnlyList DummyItemSource { get; } = new[]
+ {
+ "Item 0",
+ "Item 1",
+ "Item 2",
+ "Item 3",
+ "Item 4",
+ "Item 5",
+ };
+
+ public ICommand ClearSelectionCommand { get; }
+
+ public string? SelectedItem
+ {
+ get => selectedItem;
+ set => SetProperty(ref selectedItem, value);
+ }
+}