Skip to content

Commit fce44dc

Browse files
Merge branch 'internal_public' of https://github.com/syncfusion/maui-toolkit into internal_public
2 parents 43f4068 + 0718c0a commit fce44dc

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)