更新整理

This commit is contained in:
GG Z
2025-04-24 20:56:44 +08:00
parent 155cef46f8
commit 5b6d67b571
813 changed files with 14437 additions and 12362 deletions

View File

@@ -4,7 +4,7 @@ using System.Windows.Data;
namespace WPFluent.Converters;
public class DoubleToPercentageConverter : IValueConverter
internal class DoubleToPercentageConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
@@ -15,7 +15,7 @@ public class DoubleToPercentageConverter : IValueConverter
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
var str = value.ToString().TrimEnd('%');
if(double.TryParse(str, out var d))
if (double.TryParse(str, out var d))
{
return d / 100;
}