Binding controls to other controls and to classes

This commit is contained in:
2025-08-18 12:56:19 +02:00
parent 650ee00aef
commit 0d46bd3ade
3 changed files with 52 additions and 10 deletions

View File

@ -0,0 +1,15 @@
using System.Globalization;
namespace AdventureWorks.MAUI.Converters;
public class InvertedBoolConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return !(bool)value;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return null;
}
}