Skip to content

Commit 5106e9a

Browse files
Updated the control gallery demo list with new/updated tag
1 parent b6bcea0 commit 5106e9a

File tree

5 files changed

+517
-218
lines changed

5 files changed

+517
-218
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System.Globalization;
2+
3+
namespace Syncfusion.Maui.ControlsGallery.Converters
4+
{
5+
public class StringToVisibilityConverter : IValueConverter
6+
{
7+
public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
8+
{
9+
return !string.IsNullOrEmpty(value as string);
10+
}
11+
12+
public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
13+
{
14+
return null;
15+
}
16+
17+
}
18+
}

0 commit comments

Comments
 (0)