Files
better-genshin-impact/Build/MicaSetup/Design/Converters/BoolNegationConverter.cs

15 lines
328 B
C#

using System.Windows.Data;
namespace MicaSetup.Design.Converters;
[ValueConversion(typeof(bool), typeof(bool))]
public class BoolNegationConverter : BoolToValueConverter<bool>
{
public BoolNegationConverter()
{
this.TrueValue = true;
this.FalseValue = false;
this.IsInverted = true;
}
}