27 lines
541 B
C#
27 lines
541 B
C#
using Microsoft.Maui.Controls;
|
|
|
|
namespace FrymasterBadgeApp.Converters;
|
|
|
|
public class IsNotNullConverter : IValueConverter
|
|
{
|
|
public object Convert(
|
|
object value,
|
|
Type targetType,
|
|
object parameter,
|
|
System.Globalization.CultureInfo culture
|
|
)
|
|
{
|
|
return value != null;
|
|
}
|
|
|
|
public object ConvertBack(
|
|
object value,
|
|
Type targetType,
|
|
object parameter,
|
|
System.Globalization.CultureInfo culture
|
|
)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|