Removing UWP project.

This commit is contained in:
Burak Kaan Köse
2024-07-20 03:07:21 +02:00
parent 5b68f237f0
commit e04c17d591
294 changed files with 26742 additions and 163 deletions

View File

@@ -0,0 +1,27 @@
using System;
#if NET8_0
using Microsoft.UI.Xaml.Data;
#else
using Windows.UI.Xaml.Data;
#endif
namespace Wino.Converters
{
public class ReverseBooleanConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
if (value is bool boolval)
return !boolval;
return false;
}
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,26 @@
using System;
#if NET8_0
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml;
#else
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml;
#endif
namespace Wino.Converters
{
public class ReverseBooleanToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
return ((bool)value) ? Visibility.Collapsed : Visibility.Visible;
}
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
throw new NotImplementedException();
}
}
}