大量更新

This commit is contained in:
GG Z
2025-12-23 21:37:02 +08:00
parent 3fc465959b
commit b611efeed9
105 changed files with 5814 additions and 371 deletions

View File

@@ -0,0 +1,17 @@
using System.Globalization;
using System.Windows.Data;
namespace Szmedi.RvKits.Converters
{
public class NullOrEmptyToBooleanConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var str = value as string;
return !string.IsNullOrEmpty(str); // 非空返回 true
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
=> throw new NotImplementedException();
}
}