更新
This commit is contained in:
11
AntdWpf/Converters/SubtractionConverter.cs
Normal file
11
AntdWpf/Converters/SubtractionConverter.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace AntdWpf.Converters;
|
||||
|
||||
using System;
|
||||
using System.Globalization;
|
||||
public class SubtractionConverter : ArithmeticConverter
|
||||
{
|
||||
public override double Convert(double value, Type targetType, double parameter, CultureInfo culture)
|
||||
{
|
||||
return value - parameter;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user