Einstellungen zu den norm, wird design angezeigt

This commit is contained in:
2023-04-20 21:33:57 +02:00
parent bcbda7622c
commit 7fd87cff09
12 changed files with 227 additions and 13 deletions

View File

@@ -0,0 +1,21 @@
using SewerStammGen.Shared.Enum;
using System;
using System.Globalization;
using System.Windows.Data;
namespace StammGenerator.Converters
{
public class ValueToExportConverter: IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value.ToString() == parameter.ToString();
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return (EExportType)parameter;
}
}
}